Skip to content

Commit cfa7ab4

Browse files
Rollup merge of #125535 - onur-ozkan:remove-deprecated-field, r=clubby789
clean-up: remove deprecated field `dist.missing-tools` It's been 5 months since this field was deprecated.
2 parents f50b4f5 + c76477d commit cfa7ab4

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

config.example.toml

-3
Original file line numberDiff line numberDiff line change
@@ -904,9 +904,6 @@
904904
# on linux
905905
#src-tarball = true
906906

907-
# Whether to allow failures when building tools
908-
#missing-tools = false
909-
910907
# List of compression formats to use when generating dist tarballs. The list of
911908
# formats is provided to rust-installer, which must support all of them.
912909
#

src/bootstrap/src/core/config/config.rs

-4
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,6 @@ pub struct Config {
314314
pub save_toolstates: Option<PathBuf>,
315315
pub print_step_timings: bool,
316316
pub print_step_rusage: bool,
317-
pub missing_tools: bool, // FIXME: Deprecated field. Remove it at 2024.
318317

319318
// Fallback musl-root for all targets
320319
pub musl_root: Option<PathBuf>,
@@ -905,7 +904,6 @@ define_config! {
905904
sign_folder: Option<String> = "sign-folder",
906905
upload_addr: Option<String> = "upload-addr",
907906
src_tarball: Option<bool> = "src-tarball",
908-
missing_tools: Option<bool> = "missing-tools",
909907
compression_formats: Option<Vec<String>> = "compression-formats",
910908
compression_profile: Option<String> = "compression-profile",
911909
include_mingw_linker: Option<bool> = "include-mingw-linker",
@@ -1936,7 +1934,6 @@ impl Config {
19361934
sign_folder,
19371935
upload_addr,
19381936
src_tarball,
1939-
missing_tools,
19401937
compression_formats,
19411938
compression_profile,
19421939
include_mingw_linker,
@@ -1946,7 +1943,6 @@ impl Config {
19461943
config.dist_compression_formats = compression_formats;
19471944
set(&mut config.dist_compression_profile, compression_profile);
19481945
set(&mut config.rust_dist_src, src_tarball);
1949-
set(&mut config.missing_tools, missing_tools);
19501946
set(&mut config.dist_include_mingw_linker, include_mingw_linker)
19511947
}
19521948

src/bootstrap/src/utils/change_tracker.rs

+5
Original file line numberDiff line numberDiff line change
@@ -190,4 +190,9 @@ pub const CONFIG_CHANGE_HISTORY: &[ChangeInfo] = &[
190190
severity: ChangeSeverity::Warning,
191191
summary: "`rust.lld` has a new default value of `true` on `x86_64-unknown-linux-gnu`. Starting at stage1, `rust-lld` will thus be this target's default linker. No config changes should be necessary.",
192192
},
193+
ChangeInfo {
194+
change_id: 125535,
195+
severity: ChangeSeverity::Warning,
196+
summary: "Removed `dist.missing-tools` configuration as it was deprecated long time ago.",
197+
},
193198
];

0 commit comments

Comments
 (0)