Skip to content

Commit 549b724

Browse files
committed
Update doc comment for export_dir
1 parent 9a65110 commit 549b724

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/cargo/core/compiler/build_config.rs

+5-6
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,11 @@ pub struct BuildConfig {
3636
/// A thread used by `cargo fix` to receive messages on a socket regarding
3737
/// the success/failure of applying fixes.
3838
pub rustfix_diagnostic_server: Rc<RefCell<Option<RustfixDiagnosticServer>>>,
39-
/// The directory to copy final artifacts to. Note that even if `out_dir` is
40-
/// set, a copy of artifacts still could be found a `target/(debug\release)`
41-
/// as usual.
42-
// TODO: originally, the command-line flag was named `out-dir`, so we used
43-
// `export_dir` to avoid confusion with out dir at `target/debug/deps`, but
44-
// it was renamed to `artifact-dir`. We should change `export_dir` to match.
39+
/// The directory to copy final artifacts to. Note that even if
40+
/// `artifact-dir` is set, a copy of artifacts still can be found at
41+
/// `target/(debug\release)` as usual.
42+
/// Named `export_dir` to avoid confusion with
43+
/// `CompilationFiles::artifact_dir`.
4544
pub export_dir: Option<PathBuf>,
4645
/// `true` to output a future incompatibility report at the end of the build
4746
pub future_incompat_report: bool,

0 commit comments

Comments
 (0)