proc_macro
crate fails to build with llvm LLVM_ENABLE_EXPENSIVE_CHECKS
#104173
Labels
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-debug-assertions
This issue requires a build of rustc or tooling with debug-assertions in some way
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Soooo I was trying to build rustc with a llvm that has
LLVM_ENABLE_EXPENSIVE_CHECKS
on for some extra asserts, but it turns out that we can't even build std artifacts like that 😅To turn on expensive checks
cat config.toml | grep -v "^#" | grep -v "^$"
Then I built using
RUSTFLAGS="" ./x.py build
rustc --version --verbose
:Backtrace
The text was updated successfully, but these errors were encountered: