We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b9e432a + 81147d1 commit 4441ef6Copy full SHA for 4441ef6
src/doc/src/reference/config.md
@@ -1173,9 +1173,9 @@ rustflags = ["…", "…"]
1173
```
1174
1175
`cfg` values come from those built-in to the compiler (run `rustc --print=cfg`
1176
-to view), values set by [build scripts], and extra `--cfg` flags passed to
1177
-`rustc` (such as those defined in `RUSTFLAGS`). Do not try to match on
1178
-`debug_assertions` or Cargo features like `feature="foo"`.
+to view) and extra `--cfg` flags passed to `rustc` (such as those defined in
+`RUSTFLAGS`). Do not try to match on `debug_assertions`, `test` or Cargo
+features like `feature="foo"`.
1179
1180
If using a target spec JSON file, the [`<triple>`] value is the filename stem.
1181
For example `--target foo/bar.json` would match `[target.bar]`.
0 commit comments