rust/compiler/rustc_llvm
Nikita Popov 776b0adaaf Fix incorrect NDEBUG handling in LLVM bindings
We currently compile our LLVM bindings using `-DNDEBUG` if
debuginfo for LLVM is disabled. However, `NDEBUG` doesn't have
any relation to debuginfo, it controls whether assertions are
enabled.

Rename the environment variable to `LLVM_ASSERTIONS` and drive
it using the `llvm_assertions` option. Also drop the explicit
`debug(false)` call, as cc already sets this up using the
cargo `DEBUG` environment variable.
2024-07-12 22:13:56 +02:00
..
llvm-wrapper Rename the asm-comments compiler flag to verbose-asm 2024-07-02 21:42:01 -04:00
src Auto merge of #125141 - SergioGasquez:feat/no_std-xtensa, r=davidtwco 2024-06-12 13:43:31 +00:00
build.rs Fix incorrect NDEBUG handling in LLVM bindings 2024-07-12 22:13:56 +02:00
Cargo.toml Update cc crate to v1.0.97 2024-05-08 15:06:35 +00:00