Skip to content

Commit

Permalink
Update doc comment for export_dir
Browse files Browse the repository at this point in the history
  • Loading branch information
valadaptive committed May 4, 2024
1 parent 6d08030 commit 14624e8
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/cargo/core/compiler/build_config.rs
Expand Up @@ -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<RefCell<Option<RustfixDiagnosticServer>>>,
/// 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<PathBuf>,
/// `true` to output a future incompatibility report at the end of the build
pub future_incompat_report: bool,
Expand Down

0 comments on commit 14624e8

Please sign in to comment.