Skip to content

Commit bc3491f

Browse files
pnkfelixcuviper
authored andcommitted
fix proc-macro test added here to solely be exercised as a build product for the host.
thus we should no longer see test failures for e.g. wasm32 target. (cherry picked from commit a2a7f27)
1 parent a94c607 commit bc3491f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/ui/proc-macro/auxiliary/exports_no_mangle.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// force-host
2+
// no-prefer-dynamic
13
#![crate_type="lib"]
24

35
// Issue 111888: this crate (1.) is imported by a proc-macro crate and (2.)

tests/ui/proc-macro/no-mangle-in-proc-macro-issue-111888.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
// build-pass
2+
// force-host
3+
// no-prefer-dynamic
24
// aux-build:exports_no_mangle.rs
35
#![crate_type = "proc-macro"]
46

0 commit comments

Comments
 (0)