jit.rs
jit.rs copied to clipboard
LibJIT wrapper for Rust
This would be extremely cool as a feature and as a method of evaluating performance differences. LibJIT and LLVM both have similar APIs when it comes to generating IR and...
Disclaimer: My rust skills are very poor. But the compiler hints are very good, so i fixed every error and it compiles and passes tests :smiley:
Good morning, and thank you for merging my patches! Would it be possible to publish new versions of the crates to crates.io? Thank you for helping me get off the...
Hi, when I try to compile `libjit-sys` (by using the `jit` crate), Cargo fail with the following error message: ``` Compiling libjit-sys v0.1.11 (https://github.com/TomBebbington/jit.rs#53ea5537) Running `rustc /home/hervie_g/.cargo/git/checkouts/jit.rs-60410d064990e0b4/master/sys/lib.rs --crate-name libjit_sys --crate-type...
So a structure like this: ``` rust #[jit] #[derive(Copy) pub struct Position { x: f64, y: f64 } ``` Can instead group them together: ``` rust #[derive(Copy, Compile)] ... ```
``` rust #[jit] pub enum Number { Int(i32), Float(f64) } ``` This should generate a Compile implementation, and some enums from the standard library such as `Option` and `Result` should...