rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
96.74k stars 12.5k forks source link

handle std features with a new option in `config.toml` #129599

Open onur-ozkan opened 2 weeks ago

onur-ozkan commented 2 weeks ago

Currently there are multiple ways to enable std features during bootstrap, which can be confusing to newcomers on this project.

To simplify this, add a new option under the rustc section in the config.toml, and handle it in the following function:

https://github.com/rust-lang/rust/blob/697d9530d78aeba31458cadfc338adb2aea90bee/src/bootstrap/src/lib.rs#L646

@rustbot label +E-easy +E-mentor +E-help-wanted +T-bootstrap

shrirambalaji commented 2 weeks ago

@onur-ozkan I'd like to pick this up, haven't contributed to rustc before so might need some mentoring

onur-ozkan commented 2 weeks ago

@onur-ozkan I'd like to pick this up

You can claim the issue by using rustbot.

haven't contributed to rustc before so might need some mentoring

Feel free to ask me any questions on Zulip, or ping me here under the issue or an open PR.

shrirambalaji commented 2 weeks ago

@rustbot claim