-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
S-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.
Description
It would be good if cargo build would have a --nostd option that would ensure that the resulting artifact doesn't indeed link against the std library and fails if this is the case.
To check this, it needs to at least check that rustc is not called with the std feature enabled. A bonus point would be to use nm on Linux and MacOSX (and its equivalent on windows) to check that the artifact does not contain any std symbols.
repi, hobofan, yokomizor and Demindiro
Metadata
Metadata
Assignees
Labels
S-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.