Writing a JIT in Rust

Is there any way to write a JIT in Rust, with features such as:

struct FuncBuilder;
struct FuncHandle;
impl Drop for FuncHandle;
impl FuncHandle {
  fn get<'a>(&'a self) -> fn() -> PhantomLifetime<'a, ()>;
// etc


That doesn't look safe.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.