Skip to content

Commit 6288200

Browse files
authored
Merge pull request #1747 from Urgau/patch-1
Mention `explicit_builtin_cfgs_in_flags` lint cfg chapter
2 parents c9fb725 + 8319abc commit 6288200

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/conditional-compilation.md

-3
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,6 @@ configuration option from within the source code of the crate being compiled.
8787
> by [Cargo][cargo-feature] for specifying compile-time options and optional
8888
> dependencies.
8989
90-
> [!WARNING]
91-
> Arbitrarily-set configuration options can clash with compiler-set configuration options. For example, it is possible to do `rustc --cfg "unix" program.rs` while compiling to a Windows target, and have both `unix` and `windows` configuration options set at the same time. Doing this would be unwise.
92-
9390
r[cfg.target_arch]
9491
### `target_arch`
9592

0 commit comments

Comments
 (0)