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
Per discussion in #6790. The
--out-dir CLI option and out-dir config option are often confused with
the OUT_DIR environment variable, when the two serve very different
purposes (the former tells Cargo where to copy build artifacts to,
whereas the OUT_DIR environment variable is set *by* Cargo to tell
build scripts where to place their generated intermediate artifacts).
Renaming the option to something less confusing is a prerequisite to
stabilizing it.
*`-Z` command-line flags are used to enable new functionality that may not
36
36
have an interface, or the interface has not yet been designed, or for more
@@ -74,7 +74,7 @@ For the latest nightly, see the [nightly version] of this page.
74
74
*[msrv-policy](#msrv-policy) --- MSRV-aware resolver and version selection
75
75
*[precise-pre-release](#precise-pre-release) --- Allows pre-release versions to be selected with `update --precise`
76
76
* Output behavior
77
-
*[out-dir](#out-dir) --- Adds a directory where artifacts are copied to.
77
+
*[artifact-dir](#artifact-dir) --- Adds a directory where artifacts are copied to.
78
78
*[Different binary name](#different-binary-name) --- Assign a name to the built binary that is separate from the crate name.
79
79
* Compile behavior
80
80
*[mtime-on-use](#mtime-on-use) --- Updates the last-modified timestamp on every dependency every time it is used, to provide a mechanism to delete unused artifacts.
@@ -206,27 +206,27 @@ minimum versions that you are actually using. That is, if Cargo.toml says
206
206
Indirect dependencies are resolved as normal so as not to be blocked on their
207
207
minimal version validation.
208
208
209
-
## out-dir
209
+
## artifact-dir
210
210
* Original Issue: [#4875](https://github.com/rust-lang/cargo/issues/4875)
0 commit comments