]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #63621 - jgalenson:dndebug, r=alexcrichton
authorMazdak Farrokhzad <twingoow@gmail.com>
Sat, 17 Aug 2019 09:13:47 +0000 (11:13 +0200)
committerGitHub <noreply@github.com>
Sat, 17 Aug 2019 09:13:47 +0000 (11:13 +0200)
commit6bce50f390bbdfca66966c26adec42b927670f4f
treedfcd4fc58e4f37e2ca05d7f8a877787fc574a8f5
parenta053baefebb56b59bd6c40a3ca0726efc18f4209
parent191603653b90e25d8e0e67f125aec523412b51f9
Rollup merge of #63621 - jgalenson:dndebug, r=alexcrichton

Modify librustc_llvm to pass -DNDEBUG while compiling.

Currently, librustc_llvm builds are not reproducible because the LLVM files it compiles use the debug version of llvm_unreachable, which uses __FILE__.  To fix this, we propagate NDEBUG from bootstrap if applicable and use it when compiling librustc_llvm.

r? @alexcrichton
src/bootstrap/compile.rs
src/librustc_llvm/build.rs