Skip to content

Commit 396138b

Browse files
committed
background: user crates use features for std
1 parent 7163810 commit 396138b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

text/0000-build-std/1-background.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,10 @@ enable or disable these features. The default set of features is determined by
125125
key in `bootstrap.toml`][bootstrap-features-toml]. The enabled features are
126126
often different depending on the target.
127127

128+
It is also common for user crates to depend on the standard library (via
129+
`#![no_std]`) conditional on Cargo features being enabled or disabled (e.g. a
130+
`std` feature or if `--test` is used).
131+
128132
### Target support
129133
[background-target-support]: #target-support
130134

0 commit comments

Comments
 (0)