From 14624e8944af686013dee8558159cb80f99e0420 Mon Sep 17 00:00:00 2001 From: valadaptive Date: Sat, 4 May 2024 00:10:47 -0400 Subject: [PATCH] Update doc comment for export_dir --- src/cargo/core/compiler/build_config.rs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/cargo/core/compiler/build_config.rs b/src/cargo/core/compiler/build_config.rs index 8f199db2b9f..0f66d6dbbc6 100644 --- a/src/cargo/core/compiler/build_config.rs +++ b/src/cargo/core/compiler/build_config.rs @@ -36,12 +36,11 @@ pub struct BuildConfig { /// A thread used by `cargo fix` to receive messages on a socket regarding /// the success/failure of applying fixes. pub rustfix_diagnostic_server: Rc>>, - /// The directory to copy final artifacts to. Note that even if `out_dir` is - /// set, a copy of artifacts still could be found a `target/(debug\release)` - /// as usual. - // TODO: originally, the command-line flag was named `out-dir`, so we used - // `export_dir` to avoid confusion with out dir at `target/debug/deps`, but - // it was renamed to `artifact-dir`. We should change `export_dir` to match. + /// The directory to copy final artifacts to. Note that even if + /// `artifact-dir` is set, a copy of artifacts still can be found at + /// `target/(debug\release)` as usual. + /// Named `export_dir` to avoid confusion with + /// `CompilationFiles::artifact_dir`. pub export_dir: Option, /// `true` to output a future incompatibility report at the end of the build pub future_incompat_report: bool,