@@ -58,14 +58,14 @@ respect the `RUSTFLAGS` environment variable.
5858> artifacts produced by build-std match the pre-built standard library as much
5959> as is feasible.
6060
61- Alongside ` build-std ` , a ` build-std-crate ` key will be introduced
61+ Alongside ` build-std ` , a ` build-std-crates ` key will be introduced
6262([ ?] [ rationale-build-std-crate ] ), which can be used to specify which crates from
6363the standard library should be built. Only "core", "alloc" and "std" are valid
64- values for ` build-std-crate ` .
64+ values for ` build-std-crates ` .
6565
6666``` toml
6767[build ]
68- build-std-crate = " std"
68+ build-std-crates = " std"
6969```
7070
7171A value of "std" means that every crate in the graph has a direct dependency on
@@ -77,7 +77,7 @@ default test harness then Cargo will also build the `test` crate.
7777
7878If [ * Standard library dependencies* ] [ deps ] are implemented then ` builtin `
7979dependencies will be used if ` build-std-crates ` is not explicitly set.
80- Otherwise, ` build-std-crate ` will default to the crate intended to be supported
80+ Otherwise, ` build-std-crates ` will default to the crate intended to be supported
8181by the target (see later
8282[ * Default standard library crate for targets* ] [ default-std-crate-for-target ]
8383section).
@@ -147,7 +147,7 @@ target in the project.
147147- [ * Why does ` [target] ` take precedence over ` [build] ` for ` build-std ` ?* ] [ rationale-build-std-precedence ]
148148- [ * Why does "always" rebuild unconditionally?* ] [ rationale-unconditional ]
149149- [ * Why does "always" rebuild in release profile?* ] [ rationale-release-profile ]
150- - [ * Why add ` build-std-crate ` ?* ] [ rationale-build-std-crate ]
150+ - [ * Why add ` build-std-crates ` ?* ] [ rationale-build-std-crate ]
151151- [ * Why use the lockfile of the ` rust-src ` component?* ] [ rationale-lockfile ]
152152- [ * Why not build the standard library in incremental?* ] [ rationale-incremental ]
153153- [ * Why not produce a ` dylib ` for the standard library?* ] [ rationale-no-dylib ]
@@ -159,7 +159,7 @@ target in the project.
159159
160160- [ * What should the ` build-std ` configuration in ` .cargo/config ` be named?* ] [ unresolved-config-name ]
161161- [ * What should the "always" and "never" values of ` build-std ` be named?* ] [ unresolved-config-values ]
162- - [ * What should ` build-std-crate ` be named?* ] [ unresolved-build-std-crate-name ]
162+ - [ * What should ` build-std-crates ` be named?* ] [ unresolved-build-std-crate-name ]
163163- [ * Should the standard library inherit RUSTFLAGS?* ] [ unresolved-inherit-rustflags ]
164164
165165* See the following sections for future possibilities:*
@@ -182,7 +182,7 @@ For example, `default_build_std_crate` will be set to "core, alloc and std" on
182182on this target, and only "core" on "aarch64-unknown-none", as this is the only
183183standard library crate that is supported on this target.
184184
185- Cargo's ` build-std-crate ` field will default to the value of the
185+ Cargo's ` build-std-crates ` field will default to the value of the
186186` default_build_std_crate ` field (` std ` for "core, alloc and std", ` alloc ` for
187187"core and alloc", and ` core ` for "core"). This does not prevent users from
188188building more crates than the default, it is only intended to be a sensible
@@ -719,15 +719,15 @@ profile.
719719
720720↩ [ * Proposal* ] [ proposal ]
721721
722- ## Why add ` build-std-crate ` ?
723- [ rationale-build-std-crate ] : #why-add-build-std-crate
722+ ## Why add ` build-std-crates ` ?
723+ [ rationale-build-std-crate ] : #why-add-build-std-crates
724724
725725Not all standard library crates will build on all targets. In a ` no_std ` project
726- for a tier three target, ` build-std-crate ` gives the user the ability to limit
726+ for a tier three target, ` build-std-crates ` gives the user the ability to limit
727727which crates are built to those they know they need and will build successfully.
728728
729729* See [ Standard library dependencies* ] [ deps ] for an alternative to
730- ` build-std-crate ` .*
730+ ` build-std-crates ` .*
731731
732732↩ [ * Proposal* ] [ proposal ]
733733
@@ -1083,8 +1083,8 @@ What is the most intuitive name for the values of the `build-std` setting?
10831083
10841084↩ [ * Proposal* ] [ proposal ]
10851085
1086- ## What should ` build-std-crate ` be named?
1087- [ unresolved-build-std-crate-name ] : #what-should-build-std-crate -be-named
1086+ ## What should ` build-std-crates ` be named?
1087+ [ unresolved-build-std-crate-name ] : #what-should-build-std-crates -be-named
10881088
10891089What should this configuration option be named?
10901090
0 commit comments