File tree 2 files changed +4
-0
lines changed
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ found in [`header.rs`] from the compiletest source.
91
91
* [ ` error-pattern ` ] ( ui.md#error-pattern ) — errors not on a line
92
92
* ` incremental ` — incremental tests not in the incremental test-suite
93
93
* ` no-prefer-dynamic ` — don't use ` -C prefer-dynamic ` , don't build as a dylib
94
+ * ` no-auto-check-cfg ` — disable auto check-cfg (only for ` --check-cfg ` tests)
94
95
* ` force-host ` — build only for the host target
95
96
* [ ` revisions ` ] ( compiletest.md#revisions ) — compile multiple times
96
97
* [ ` forbid-output ` ] ( compiletest.md#incremental-tests ) — incremental cfail rejects output pattern
Original file line number Diff line number Diff line change @@ -361,6 +361,9 @@ multiple `.stderr` files for the different outputs.
361
361
In the example above, there would be a ` .mir.stderr ` and ` .thir.stderr ` file
362
362
with the different outputs of the different revisions.
363
363
364
+ > Note: cfg revisions also work inside the source code with ` #[cfg] ` attributes.
365
+ >
366
+ > By-convention the ` FALSE ` cfg is used to have an always false config.
364
367
365
368
## Controlling pass/fail expectations
366
369
You can’t perform that action at this time.
0 commit comments