about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder.rs
diff options
context:
space:
mode:
authorErick Tryzelaar <etryzelaar@google.com>2025-01-07 23:38:01 +0000
committerErick Tryzelaar <etryzelaar@google.com>2025-01-08 18:00:26 +0000
commit3998964879e709cfc1728edb3e596c3ec0a7696e (patch)
tree4bac28ac938e8169cd2d46120bd055de9bd2b27b /compiler/rustc_codegen_llvm/src/builder.rs
parenta2d78f77f48058fc58c3e56309b870ebeae90859 (diff)
downloadrust-3998964879e709cfc1728edb3e596c3ec0a7696e.tar.gz
rust-3998964879e709cfc1728edb3e596c3ec0a7696e.zip
Only test proc-macro invalid compile flags with panic=unwind
Fuchsia explicitly builds rust and all rust targets with `-C
panic=abort` to minimize code generation size. However, when compiling a
proc-macro with this setting it can cause a warning to be emitted, which
breaks `tests/ui/invalid-compile-flags/crate-type-flag.rs`. This hasn't
been a problem in the past for us since we compile our proc macros on
host, rather than inside Fuchsia.

This attempts to fix the issue by explicitly requiring that we're using
the unwinder when compiling this test to avoid the warning being
emitted.

Fixes #135223
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions