rust/tests/ui/invalid-compile-flags
Erick Tryzelaar 49942961a7 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
2025-01-08 18:00:26 +00:00
..
function-return [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
reg-struct-return rust_for_linux: -Zreg-struct-return commandline flag for X86 (#116973) 2024-12-02 01:14:40 +07:00
regparm rust_for_linux: -Zregparm=<N> commandline flag for X86 (#116972) 2024-10-18 00:29:31 +07:00
branch-protection-missing-pac-ret.BADFLAGS.stderr rustc_codegen_llvm: Add a new 'pc' option to branch-protection 2024-10-31 11:59:17 +00:00
branch-protection-missing-pac-ret.BADFLAGSPC.stderr rustc_codegen_llvm: Add a new 'pc' option to branch-protection 2024-10-31 11:59:17 +00:00
branch-protection-missing-pac-ret.BADTARGET.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
branch-protection-missing-pac-ret.rs rustc_codegen_llvm: Add a new 'pc' option to branch-protection 2024-10-31 11:59:17 +00:00
codegen-option-without-group.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
codegen-option-without-group.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
crate-type-flag.empty_crate_type.stderr tests: add basic test coverage for cli flag --crate-type 2024-12-30 19:10:43 +08:00
crate-type-flag.proc_underscore_macro.stderr tests: add basic test coverage for cli flag --crate-type 2024-12-30 19:10:43 +08:00
crate-type-flag.rs Only test proc-macro invalid compile flags with panic=unwind 2025-01-08 18:00:26 +00:00
crate-type-flag.unknown.stderr tests: add basic test coverage for cli flag --crate-type 2024-12-30 19:10:43 +08:00
debug-option-without-group.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
debug-option-without-group.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid-llvm-passes.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
invalid-llvm-passes.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
print-without-arg.rs Fix #128930: Print documentation of CLI options missing their arg 2024-08-11 09:10:30 +01:00
print-without-arg.stderr Fix #128930: Print documentation of CLI options missing their arg 2024-08-11 09:10:30 +01:00
print.rs Improve diagnostic for unknown --print request 2024-04-24 15:52:01 +02:00
print.stderr Add --print host-triple 2024-11-02 21:29:59 +01:00