-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
implementationImplementation exploration and tracking issuesImplementation exploration and tracking issuesstabilization blockerThis needs a resolution before stabilizationThis needs a resolution before stabilization
Description
There are some crates that require special compiler flags. The current implementation does not do a good job of passing these flags. It would be ideal if these could be pushed towards some kind of config somewhere. Currently they are scattered in the bootstrap code.
Some that I can think of is:
compiler_builtins
(cc Deps: compiler_builtins #15): https://github.com/rust-lang/rust/blob/8e917f48382c6afaf50568263b89d35fba5d98e4/src/bootstrap/bin/rustc.rs#L210-L214compiler_builtins
wants a different codegen-units: https://github.com/rust-lang/rust/blob/1a1cc050d8efc906ede39f444936ade1fdc9c6cb/library/Cargo.toml#L14-L25- panic support: https://github.com/rust-lang/rust/blob/8e917f48382c6afaf50568263b89d35fba5d98e4/src/bootstrap/bin/rustc.rs#L198-L201 (among others)
Metadata
Metadata
Assignees
Labels
implementationImplementation exploration and tracking issuesImplementation exploration and tracking issuesstabilization blockerThis needs a resolution before stabilizationThis needs a resolution before stabilization