-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
-Zexport-executable-symbols alone does not export symbols #101610
Copy link
Copy link
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.F-export_executable_symbols`#![feature(export_executable_symbols)]``#![feature(export_executable_symbols)]`T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.F-export_executable_symbols`#![feature(export_executable_symbols)]``#![feature(export_executable_symbols)]`T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
I tried:
building with:
rustc -Zexport-executable-symbols --crate-type binI expected to see this happen:
Instead, this happened:
in addition, this test case here:
rust/src/test/run-make/export-executable-symbols/Makefile
Line 10 in 98f3001
is insufficient, as
nmprints out every symbol, not only the exported ones.Meta
Tested on:
rustc 1.65.0-nightly (c07a8b4e0 2022-08-26)rustc 1.65.0-nightly (c2804e6ec 2022-09-07)