@@ -759,6 +759,7 @@ unstable_cli_options!(
759
759
avoid_dev_deps: bool = ( "Avoid installing dev-dependencies if possible" ) ,
760
760
binary_dep_depinfo: bool = ( "Track changes to dependency artifacts" ) ,
761
761
bindeps: bool = ( "Allow Cargo packages to depend on bin, cdylib, and staticlib crates, and use the artifacts built by those crates" ) ,
762
+ build_dir: bool = ( "Enable the `build.build-dir` option in .cargo/config.toml file" ) ,
762
763
#[ serde( deserialize_with = "deserialize_comma_separated_list" ) ]
763
764
build_std: Option <Vec <String >> = ( "Enable Cargo to compile the standard library itself as part of a crate graph compilation" ) ,
764
765
#[ serde( deserialize_with = "deserialize_comma_separated_list" ) ]
@@ -1264,6 +1265,7 @@ impl CliUnstable {
1264
1265
"avoid-dev-deps" => self . avoid_dev_deps = parse_empty ( k, v) ?,
1265
1266
"binary-dep-depinfo" => self . binary_dep_depinfo = parse_empty ( k, v) ?,
1266
1267
"bindeps" => self . bindeps = parse_empty ( k, v) ?,
1268
+ "build-dir" => self . build_dir = parse_empty ( k, v) ?,
1267
1269
"build-std" => self . build_std = Some ( parse_list ( v) ) ,
1268
1270
"build-std-features" => self . build_std_features = Some ( parse_list ( v) ) ,
1269
1271
"cargo-lints" => self . cargo_lints = parse_empty ( k, v) ?,
0 commit comments