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
Copy file name to clipboardExpand all lines: src/tests/directives.md
+4
Original file line number
Diff line number
Diff line change
@@ -58,8 +58,12 @@ not be exhaustive. Directives can generally be found by browsing the
58
58
|`aux-build`| Build a separate crate from the named source file | All except `run-make`| Path to auxiliary `.rs` file |
59
59
|`aux-crate`| Like `aux-build` but makes available as extern prelude | All except `run-make`|`<extern_prelude_name>=<path/to/aux/file.rs>`|
60
60
|`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 |
61
+
|`proc-macro`| Similar to `aux-build`, but for aux forces host and don't use `-Cprefer-dynamic`[^pm]. | All except `run-make`| Path to auxiliary proc-macro `.rs` file |
61
62
|`build_aux_docs`| Build docs for auxiliaries as well | All except `run-make`| N/A |
62
63
64
+
[^pm]: please see the Auxiliary proc-macro section in the
65
+
[compiletest](./compiletest.md) chapter for specifics.
0 commit comments