mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 18:40:57 +03:00
3d671c0d54
cg_llvm: Pass `debuginfo_compression` through FFI as an enum There are only three possible values, making an enum more appropriate. This avoids string allocation on the Rust side, and avoids ad-hoc `!strcmp` to convert back to an enum on the C++ side.