8410 shaares
199 private links
199 private links
How to map integer types to rust integer types and more.
How to tackle C macros and inline functions in Rust?
Guo put together a ""hack"". His idea was to use Clang to compile helpers.c into LLVM bytecode. Then, for each Rust crate, ask the compiler to emit bytecode as well. Once everything is in the form of LLVM bytecode, it can be fed back into Clang with LTO turned on to produce a combined object file with the helpers inlined.
and more challenging topics.