Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
e0af3c6
When an archive fails to build, print the path
tgross35 Jul 16, 2024
b61570a
Structured suggestion for `extern crate foo` when `foo` isn't resolve…
estebank Jul 24, 2024
918cdcc
More detailed note to deprecate ONCE_INIT
liigo Jul 30, 2024
67a08b5
Attribute checking simplifications
oli-obk Jul 30, 2024
e7f89a7
derive(SmartPointer): rewrite bounds in where and generic bounds
dingxiangfei2009 Jul 13, 2024
fe6478c
Match LLVM ABI in `extern "C"` functions for `f128` on Windows
beetrees Jul 30, 2024
e657773
Remove crate_level_only from ELIDED_LIFETIMES_IN_PATHS
compiler-errors Jul 30, 2024
3659d9d
bump-stage0: use IndexMap for determinism
cuviper Jun 14, 2024
2e9298b
Bump src/stage0 with determinism
cuviper Jul 30, 2024
a2b3256
Print `thir::PatRange`, not its surrounding `thir::Pat`
Zalathar Jul 30, 2024
a9ea85e
Revert "Make `thir::Pat` not implement `fmt::Display` directly"
Zalathar Jul 30, 2024
dd5a8d7
Use a separate pattern type for `rustc_pattern_analysis` diagnostics
Zalathar Jul 30, 2024
579eb68
Rollup merge of #126454 - cuviper:deterministic-bump, r=Kobzol
matthiaskrgr Jul 31, 2024
563f938
Rollup merge of #127681 - dingxiangfei2009:smart-ptr-bounds, r=compil…
matthiaskrgr Jul 31, 2024
75dfe1e
Rollup merge of #127830 - tgross35:archive-failure-message, r=BoxyUwU
matthiaskrgr Jul 31, 2024
336a378
Rollup merge of #128151 - estebank:missing-extern-crate, r=petrochenkov
matthiaskrgr Jul 31, 2024
22dbf88
Rollup merge of #128387 - liigo:patch-14, r=tgross35
matthiaskrgr Jul 31, 2024
5c63363
Rollup merge of #128388 - beetrees:f16-f128-slightly-improve-windows-…
matthiaskrgr Jul 31, 2024
e2d8f1a
Rollup merge of #128402 - oli-obk:checked_attrs, r=compiler-errors
matthiaskrgr Jul 31, 2024
06b8372
Rollup merge of #128412 - compiler-errors:crate-level-only, r=cjgillot
matthiaskrgr Jul 31, 2024
031093f
Rollup merge of #128430 - Zalathar:print-pat, r=Nadrieril
matthiaskrgr Jul 31, 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
Prev Previous commit
Next Next commit
bump-stage0: use IndexMap for determinism
When it used `HashMap`, `bump-stage0` would change `src/stage0` every
time it ran, whereas `IndexMap` will keep insertion order -- matching
the manifest file.
  • Loading branch information
cuviper committed Jul 30, 2024
commit 3659d9d2e4736e11c7ed8b4a5d528180d4a7cff8
6 changes: 2 additions & 4 deletions src/tools/bump-stage0/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#![deny(unused_variables)]

use std::collections::HashMap;

use anyhow::{Context, Error};
use build_helper::stage0_parser::{parse_stage0_file, Stage0Config, VersionMetadata};
use curl::easy::Easy;
Expand Down Expand Up @@ -217,13 +215,13 @@ enum Channel {
#[derive(Debug, serde::Serialize, serde::Deserialize)]
struct Manifest {
date: String,
pkg: HashMap<String, ManifestPackage>,
pkg: IndexMap<String, ManifestPackage>,
}

#[derive(Debug, serde::Serialize, serde::Deserialize)]
struct ManifestPackage {
version: String,
target: HashMap<String, ManifestTargetPackage>,
target: IndexMap<String, ManifestTargetPackage>,
}

#[derive(Debug, serde::Serialize, serde::Deserialize)]
Expand Down