Skip to content

Restrict linker version script of proc-macro crates to just its two symbols #114470

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix proc-macro test added here to solely be exercised as a build prod…
…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
commit a2a7f27fd2548874b203f1f577f64cf61627e0a5
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