-
Notifications
You must be signed in to change notification settings - Fork 13.9k
Open
Labels
A-CLIArea: Command-line interface (CLI) to the compilerArea: Command-line interface (CLI) to the compilerC-bugCategory: This is a bug.Category: This is a bug.I-needs-decisionIssue: In need of a decision.Issue: In need of a decision.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.
Description
Existence or lack of --crate-type=bin may influence output of other crate-type outputs. In general libfoo.a output by --crate-type=bin,staticlib and --crate-type=staticlib might be completely different.
For example using this foo.rs, this is the list of a few first symbols when built with --crate-type=bin,staticlib and this, when bin crate-type is absent.
This is a quirk in rust’s entry point semantics and how current middle/entry.rs is implemented.
Metadata
Metadata
Assignees
Labels
A-CLIArea: Command-line interface (CLI) to the compilerArea: Command-line interface (CLI) to the compilerC-bugCategory: This is a bug.Category: This is a bug.I-needs-decisionIssue: In need of a decision.Issue: In need of a decision.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.