@@ -21,15 +21,18 @@ system:
21
21
* ` RUSTC ` — Instead of running ` rustc ` , Cargo will execute this specified
22
22
compiler instead. See [ ` build.rustc ` ] to set via config.
23
23
* ` RUSTC_WRAPPER ` — Instead of simply running ` rustc ` , Cargo will execute this
24
- specified wrapper instead, passing as its command-line arguments the rustc
25
- invocation, with the first argument being ` rustc ` . Useful to set up a build
26
- cache tool such as ` sccache ` . See [ ` build.rustc-wrapper ` ] to set via config.
27
- * ` RUSTC_WORKSPACE_WRAPPER ` — Instead of simply running ` rustc ` , Cargo will
28
- execute this specified wrapper instead for workspace members only, passing
24
+ specified wrapper, passing as its command-line arguments the rustc
25
+ invocation, with the first argument being the path to the actual rustc.
26
+ Useful to set up a build cache tool such as ` sccache ` . See
27
+ [ ` build.rustc-wrapper ` ] to set via config. Setting this to the empty string
28
+ overwrites the config and resets cargo to not use a wrapper.
29
+ * ` RUSTC_WORKSPACE_WRAPPER ` — Instead of simply running ` rustc ` , for workspace
30
+ members Cargo will execute this specified wrapper, passing
29
31
as its command-line arguments the rustc invocation, with the first argument
30
- being ` rustc ` . It affects the filename hash so that artifacts produced by
31
- the wrapper are cached separately. See [ ` build.rustc-workspace-wrapper ` ]
32
- to set via config.
32
+ being the path to the actual rustc. It affects the filename hash
33
+ so that artifacts produced by the wrapper are cached separately.
34
+ See [ ` build.rustc-workspace-wrapper ` ] to set via config. Setting this to the empty string
35
+ overwrites the config and resets cargo to not use a wrapper for workspace members.
33
36
* ` RUSTDOC ` — Instead of running ` rustdoc ` , Cargo will execute this specified
34
37
` rustdoc ` instance instead. See [ ` build.rustdoc ` ] to set via config.
35
38
* ` RUSTDOCFLAGS ` — A space-separated list of custom flags to pass to all ` rustdoc `
0 commit comments