Skip to content

Commit

Permalink
fix proc-macro test added here to solely be exercised as a build prod…
Browse files Browse the repository at this point in the history
…uct for the host.

thus we should no longer see test failures for e.g. wasm32 target.
  • Loading branch information
pnkfelix committed Aug 8, 2023
1 parent a2058dd commit a2a7f27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/ui/proc-macro/auxiliary/exports_no_mangle.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// force-host
// no-prefer-dynamic
#![crate_type="lib"]

// Issue 111888: this crate (1.) is imported by a proc-macro crate and (2.)
Expand Down
2 changes: 2 additions & 0 deletions tests/ui/proc-macro/no-mangle-in-proc-macro-issue-111888.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// build-pass
// force-host
// no-prefer-dynamic
// aux-build:exports_no_mangle.rs
#![crate_type = "proc-macro"]

Expand Down

0 comments on commit a2a7f27

Please sign in to comment.