diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2025-01-09 09:05:07 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-09 09:05:07 +0100 |
| commit | 84910fc3cd762a0cc2616167be844d4b99cc5b31 (patch) | |
| tree | 4e1a578b1ee9873ac677d02ada1482dcaa75eaca /compiler/rustc_parse/src/errors.rs | |
| parent | a9614a5768a55941a9e12ce03a3bf2a764ef830d (diff) | |
| parent | 49942961a7142e11289d8aaece3803fe7442f3d4 (diff) | |
| download | rust-84910fc3cd762a0cc2616167be844d4b99cc5b31.tar.gz rust-84910fc3cd762a0cc2616167be844d4b99cc5b31.zip | |
Rollup merge of #135225 - erickt:fix-test, r=jieyouxu
Explicitly build proc macro test 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_parse/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
