You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`aux-bin`| Build a aux binary, made available in `auxiliary/bin` relative to test directory | All except `run-make`/`run-make-cargo`| Path to auxiliary `.rs` file |
59
-
|`aux-build`| Build a separate crate from the named source file | All except `run-make`/`run-make-cargo`| Path to auxiliary `.rs` file |
60
-
|`aux-crate`| Like `aux-build` but makes available as extern prelude | All except `run-make`/`run-make-cargo`|`<extern_prelude_name>=<path/to/aux/file.rs>`|
61
-
|`aux-codegen-backend`| Similar to `aux-build` but pass the compiled dylib to `-Zcodegen-backend` when building the main file |`ui-fulldeps`| Path to codegen backend file |
62
-
|`proc-macro`| Similar to `aux-build`, but for aux forces host and don't use `-Cprefer-dynamic`[^pm]. | All except `run-make`/`run-make-cargo`| Path to auxiliary proc-macro `.rs` file |
63
-
|`build-aux-docs`| Build docs for auxiliaries as well. Note that this only works with `aux-build`, not `aux-crate`. | All except `run-make`/`run-make-cargo`| N/A |
56
+
| Directive | Explanation | Supported test suites | Possible values |
|`aux-bin`| Build a aux binary, made available in `auxiliary/bin` relative to test directory | All except `run-make`/`run-make-cargo`| Path to auxiliary `.rs` file |
59
+
|`aux-build`| Build a separate crate from the named source file | All except `run-make`/`run-make-cargo`| Path to auxiliary `.rs` file |
60
+
|`aux-crate`| Like `aux-build` but makes available as extern prelude | All except `run-make`/`run-make-cargo`|`[<extern_modifiers>:]<extern_prelude_name>=<path/to/aux/file.rs>`|
61
+
|`aux-codegen-backend`| Similar to `aux-build` but pass the compiled dylib to `-Zcodegen-backend` when building the main file |`ui-fulldeps`| Path to codegen backend file |
62
+
|`proc-macro`| Similar to `aux-build`, but for aux forces host and don't use `-Cprefer-dynamic`[^pm]. | All except `run-make`/`run-make-cargo`| Path to auxiliary proc-macro `.rs` file |
63
+
|`build-aux-docs`| Build docs for auxiliaries as well. Note that this only works with `aux-build`, not `aux-crate`. | All except `run-make`/`run-make-cargo`| N/A |
64
64
65
65
[^pm]: please see the [Auxiliary proc-macro section](compiletest.html#auxiliary-proc-macro) in the compiletest chapter for specifics.
66
66
@@ -200,6 +200,8 @@ The following directives will check rustc build settings and target settings:
200
200
on `wasm32-unknown-unknown` target because the target does not support the
201
201
`proc-macro` crate type.
202
202
-`needs-target-std` — ignores if target platform does not have std support.
203
+
- See also [`#![no_std]`/`#![no_core]` and implied `needs-target-std` for
204
+
codegen tests](./compiletest.md#codegen-tests).
203
205
-`ignore-backends` — ignores the listed backends, separated by whitespace characters.
204
206
Please note
205
207
that this directive can be overriden with the `--bypass-ignore-backends=[BACKEND]` command line
0 commit comments