Skip to content

Commit 643fc97

Browse files
authored
Rollup merge of #107576 - P1n3appl3:master, r=tmandry
Add proc-macro boilerplate to crt-static test I was seeing this failure when running ui tests with with a `-Cpanic=abort` stdlib targeting fuchsia: ``` ---- [ui] tests/ui/proc-macro/crt-static.rs stdout ---- normalized stderr: warning: building proc macro crate with `panic=abort` may crash the compiler should the proc-macro panic warning: 1 warning emitted The actual stderr differed from the expected stderr. ``` `force-host` was enough to stop it from running/failing, not sure if I should also add `needs-unwind`?
2 parents 75ea3a9 + fb38578 commit 643fc97

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/ui/proc-macro/crt-static.rs

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
// ignore-wasm32
66
// ignore-sgx no support for proc-macro crate type
77
// build-pass
8+
// force-host
9+
// no-prefer-dynamic
10+
811
#![crate_type = "proc-macro"]
912

1013
// FIXME: This don't work when crate-type is specified by attribute

0 commit comments

Comments
 (0)