This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 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.
9191 * [ ` error-pattern ` ] ( ui.md#error-pattern ) — errors not on a line
9292 * ` incremental ` — incremental tests not in the incremental test-suite
9393 * ` 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)
9495 * ` force-host ` — build only for the host target
9596 * [ ` revisions ` ] ( compiletest.md#revisions ) — compile multiple times
9697 * [ ` 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.
361361In the example above, there would be a ` .mir.stderr ` and ` .thir.stderr ` file
362362with the different outputs of the different revisions.
363363
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.
364367
365368## Controlling pass/fail expectations
366369
You can’t perform that action at this time.
0 commit comments