fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1This directory currently contains some LLVM support code. This will generally 2be sent upstream to LLVM in time; for now it lives here. 3 4NOTE: the LLVM C++ ABI is subject to between-version breakage and must *never* 5be exposed to Rust. To allow for easy auditing of that, all Rust-exposed types 6must be typedef-ed as "LLVMXyz", or "LLVMRustXyz" if they were defined here. 7 8Functions that return a failure status and leave the error in 9the LLVM last error should return an LLVMRustResult rather than an 10int or anything to avoid confusion. 11 12When translating enums, add a single `Other` variant as the first 13one to allow for new variants to be added. It should abort when used 14as an input. 15 16All other types must not be typedef-ed as such.