Skip to content

Commit 6156c10

Browse files
committed
1b/future: stable features that will not be usable
1 parent fa6d174 commit 6156c10

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

text/0000-build-std/5-stage-1b.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -906,6 +906,11 @@ Alternatively, this could be enabled alongside another proposal which would
906906
allow the standard library to define some features as stable and others as
907907
unstable.
908908
909+
As there are some features that Cargo will set itself when appropriate (e.g. to
910+
enable or disable [panic runtimes][panic-strategies] or
911+
[`compiler-builtins/mem`][compiler-builtins-mem]), Cargo may need to always
912+
prevent some otherwise stable features from being toggled as it controls those.
913+
909914
↩ [*Features*][features]
910915
911916
## Allow `builtin` source replacement
@@ -939,6 +944,9 @@ the standard library can depend on them.
939944
[embed-rs-source]: https://github.com/embed-rs/stm32f7-discovery/blob/e2bf713263791c028c2a897f2eb1830d7f09eceb/core/src/lib.rs#L7
940945
[rust-extern-prelude]: https://doc.rust-lang.org/reference/names/preludes.html#extern-prelude
941946
947+
[panic-strategies]: ./4-stage-1a.md#panic-strategies
948+
[compiler-builtins-mem]: ./4-stage-1a.md#compiler-builtinsmem
949+
942950
[cargo-add]: https://doc.rust-lang.org/cargo/commands/cargo-add.html
943951
[cargo-bench]: https://doc.rust-lang.org/cargo/commands/cargo-bench.html
944952
[cargo-build]: https://doc.rust-lang.org/cargo/commands/cargo-build.html

0 commit comments

Comments
 (0)