Skip to content
Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
b75e6b4
fetch submodule before checking llvm stamp
onur-ozkan Mar 17, 2024
6b846cc
create new build step `clippy`
onur-ozkan Mar 22, 2024
c58f2d2
create `Builder::msg_clippy`
onur-ozkan Mar 22, 2024
bfd79f5
support different `Kind`s in `Builder::msg_tool`
onur-ozkan Mar 22, 2024
ba7d37f
for clippy, skip output handling in `run_cargo`
onur-ozkan Mar 22, 2024
0aceed7
add simple top-level doc-comment for build_steps/clippy
onur-ozkan Mar 22, 2024
d7c9f71
fix sysroot bug and update step message format
onur-ozkan Mar 22, 2024
006354c
update `mingw-check` clippy invocation
onur-ozkan Mar 22, 2024
e6a675c
allow running clippy on most of the in-tree tools
onur-ozkan Mar 22, 2024
3683b11
create `Build::update_existing_submodule` and use for llvm
onur-ozkan Mar 28, 2024
1ca1457
Support type '/' to search
mu001999 Apr 2, 2024
5519445
set --sysroot outside the driver rather than messing with the argumen…
RalfJung Mar 25, 2024
9ec38ea
readme updates
RalfJung Mar 26, 2024
a57a990
drop `changelog-seen`
onur-ozkan Apr 10, 2024
cce21be
add change entry for the removal of `changelog-seen`
onur-ozkan Apr 10, 2024
fb779ee
Windows: add basic support for FormatMessageW
RalfJung Apr 15, 2024
65978ed
Auto merge of #3464 - RalfJung:windows-err, r=RalfJung
bors Apr 15, 2024
3868c9f
fix error display for './miri run --dep'
RalfJung Apr 15, 2024
34ab668
Auto merge of #3465 - RalfJung:run-dep-error-format, r=RalfJung
bors Apr 15, 2024
e928fc5
add some basic support for GetFullPathNameW
RalfJung Apr 15, 2024
69e8e2d
Auto merge of #3411 - RalfJung:sysroot, r=RalfJung
bors Apr 15, 2024
0dee2b1
Auto merge of #3466 - RalfJung:GetFullPathNameW, r=RalfJung
bors Apr 15, 2024
54f90bc
Make `split_simd_to_128bit_chunks` take only one operand
eduardosm Apr 14, 2024
ca2bd01
Bump rustc-build-sysroot to 0.4.6
RossSmyth Apr 15, 2024
67334df
The new solver ignores `DefineOpaqueTypes`, so switch it to `Yes`
oli-obk Apr 15, 2024
909fcfc
Stabilize checking of cfgs at compile-time: --check-cfg option
Urgau Feb 25, 2024
a20de73
Move --check-cfg documentation to stable books
Urgau Feb 25, 2024
0abd67f
Auto merge of #3462 - eduardosm:chunk-128, r=RalfJung
bors Apr 15, 2024
78ea5db
Auto merge of #3467 - RossSmyth:bumpSysroot, r=RalfJung
bors Apr 15, 2024
ef1d084
Match ergonomics 2024: `mut` doesn't reset binding mode
Jules-Bertholet Apr 6, 2024
83f330f
Migration lint
Jules-Bertholet Apr 6, 2024
d5d700d
Temporarily remove future compatibility label from migration lint
Jules-Bertholet Apr 6, 2024
1b2e471
Fix typo
Jules-Bertholet Apr 14, 2024
e13911e
Rename feature gate
Jules-Bertholet Apr 14, 2024
1b6d435
Mark gate as incomplete
Jules-Bertholet Apr 14, 2024
7a32117
Fix tests
Jules-Bertholet Apr 14, 2024
2f08c2c
update lockfile
RalfJung Apr 16, 2024
876ac7b
avoid passing --sysroot twice in bootstrap
RalfJung Apr 16, 2024
e03926c
Change a diagnostics-path-only `DefineOpaqueTypes` to `Yes`.
oli-obk Apr 16, 2024
18bfca5
interpret: pass MemoryKind to before_memory_deallocation
RalfJung Apr 16, 2024
5b8b9cf
interpret: remove outdated comment
RalfJung Apr 16, 2024
04a2e3c
Rollup merge of #122632 - onur-ozkan:fix-llvm-caching-bug, r=albertla…
matthiaskrgr Apr 16, 2024
d92cfc8
Rollup merge of #122883 - onur-ozkan:clippy-build-step, r=albertlarsan68
matthiaskrgr Apr 16, 2024
b94a4e6
Rollup merge of #123355 - mu001999:rustdoc/search, r=GuillaumeGomez
matthiaskrgr Apr 16, 2024
902487a
Rollup merge of #123501 - Urgau:stabilize-check-cfg, r=petrochenkov
matthiaskrgr Apr 16, 2024
ff34231
Rollup merge of #123535 - Jules-Bertholet:mut_dont_reset_binding_mode…
matthiaskrgr Apr 16, 2024
4f05fbc
Rollup merge of #123711 - onur-ozkan:drop-changelog-seen, r=albertlar…
matthiaskrgr Apr 16, 2024
c709c51
Rollup merge of #123969 - oli-obk:define_opaque_types6, r=compiler-er…
matthiaskrgr Apr 16, 2024
3ded9ef
Rollup merge of #124007 - RalfJung:miri, r=RalfJung
matthiaskrgr Apr 16, 2024
8e85da4
Rollup merge of #124017 - oli-obk:define_opaque_types8, r=compiler-er…
matthiaskrgr Apr 16, 2024
84e0367
Rollup merge of #124018 - RalfJung:dealloc-memory-kind, r=oli-obk
matthiaskrgr Apr 16, 2024
b03b87d
Rollup merge of #124024 - RalfJung:interpret-comment, r=oli-obk
matthiaskrgr Apr 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/bootstrap/src/bin/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,6 @@ fn main() {
fn check_version(config: &Config) -> Option<String> {
let mut msg = String::new();

if config.changelog_seen.is_some() {
msg.push_str("WARNING: The use of `changelog-seen` is deprecated. Please refer to `change-id` option in `config.example.toml` instead.\n");
}

let latest_change_id = CONFIG_CHANGE_HISTORY.last().unwrap().change_id;
let warned_id_path = config.out.join("bootstrap").join(".last-warned-change-id");

Expand Down
16 changes: 1 addition & 15 deletions src/bootstrap/src/core/config/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ impl LldMode {
/// `config.example.toml`.
#[derive(Default, Clone)]
pub struct Config {
pub changelog_seen: Option<usize>, // FIXME: Deprecated field. Remove it at 2024.
pub change_id: Option<usize>,
pub bypass_bootstrap_lock: bool,
pub ccache: Option<String>,
Expand Down Expand Up @@ -605,7 +604,6 @@ impl Target {
#[derive(Deserialize, Default)]
#[serde(deny_unknown_fields, rename_all = "kebab-case")]
pub(crate) struct TomlConfig {
changelog_seen: Option<usize>, // FIXME: Deprecated field. Remove it at 2024.
#[serde(flatten)]
change_id: ChangeIdWrapper,
build: Option<Build>,
Expand Down Expand Up @@ -645,17 +643,7 @@ trait Merge {
impl Merge for TomlConfig {
fn merge(
&mut self,
TomlConfig {
build,
install,
llvm,
rust,
dist,
target,
profile: _,
changelog_seen,
change_id,
}: Self,
TomlConfig { build, install, llvm, rust, dist, target, profile: _, change_id }: Self,
replace: ReplaceOpt,
) {
fn do_merge<T: Merge>(x: &mut Option<T>, y: Option<T>, replace: ReplaceOpt) {
Expand All @@ -667,7 +655,6 @@ impl Merge for TomlConfig {
}
}
}
self.changelog_seen.merge(changelog_seen, replace);
self.change_id.inner.merge(change_id.inner, replace);
do_merge(&mut self.build, build, replace);
do_merge(&mut self.install, install, replace);
Expand Down Expand Up @@ -1400,7 +1387,6 @@ impl Config {
}
toml.merge(override_toml, ReplaceOpt::Override);

config.changelog_seen = toml.changelog_seen;
config.change_id = toml.change_id.inner;

let Build {
Expand Down
5 changes: 5 additions & 0 deletions src/bootstrap/src/utils/change_tracker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,4 +170,9 @@ pub const CONFIG_CHANGE_HISTORY: &[ChangeInfo] = &[
severity: ChangeSeverity::Warning,
summary: "`rust.split-debuginfo` has been moved to `target.<triple>.split-debuginfo` and its default value is determined for each target individually.",
},
ChangeInfo {
change_id: 123711,
severity: ChangeSeverity::Warning,
summary: "The deprecated field `changelog-seen` has been removed. Using that field in `config.toml` from now on will result in breakage.",
},
];