Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
be0b42f
Recover from incorrectly ordered/duplicated function keywords
clubby789 Oct 27, 2023
f784fa7
tests/rustdoc-json: Remove some needless uses of `#![no_core]`.
aDotInTheVoid Nov 7, 2023
0875f45
tests/rustdoc-json: Remove more needless uses of `#![no_core]`.
aDotInTheVoid Nov 7, 2023
434b69a
tests/rustdoc-json: Rewrite tests no not use `#![no_core]`.
aDotInTheVoid Nov 7, 2023
94eb6b0
Move `BorrowedBuf` and `BorrowedCursor` from `std:io` to `core::io`
jmillikin Nov 8, 2023
76aa83e
target: move base specs to spec/base
davidtwco Nov 8, 2023
1af256f
targets: move target specs to spec/targets
davidtwco Nov 8, 2023
ef7ebaa
rustc_target: move file for uniformity
davidtwco Nov 8, 2023
ae4d18b
handle the case when the change-id isn't found
onur-ozkan Oct 27, 2023
e878100
bootstrap: improve `fn check_version`
onur-ozkan Oct 27, 2023
e0cb1cc
bootstrap: add more detail on change-id comments
onur-ozkan Nov 7, 2023
33edea6
Add test for reexported hidden item with `--document-hidden-items`
GuillaumeGomez Nov 8, 2023
fb31b00
Rollup merge of #117263 - onur-ozkan:change-id-fix, r=saethlin
GuillaumeGomez Nov 8, 2023
fb50ed7
Rollup merge of #117282 - clubby789:recover-wrong-function-header, r=…
GuillaumeGomez Nov 8, 2023
301b4ed
Rollup merge of #117679 - aDotInTheVoid:yes-core, r=GuillaumeGomez
GuillaumeGomez Nov 8, 2023
2627f72
Rollup merge of #117694 - jmillikin:core-io-borrowed-buf, r=m-ou-se
GuillaumeGomez Nov 8, 2023
259b749
Rollup merge of #117702 - davidtwco:target-tier-refactors, r=petroche…
GuillaumeGomez Nov 8, 2023
bf09474
Rollup merge of #117713 - GuillaumeGomez:document-hidden-json, r=notr…
GuillaumeGomez Nov 8, 2023
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
bootstrap: add more detail on change-id comments
Signed-off-by: onur-ozkan <[email protected]>
  • Loading branch information
onur-ozkan committed Nov 8, 2023
commit e0cb1cc29609e8f24f1feaa29295a757523ed4dc
11 changes: 7 additions & 4 deletions src/bootstrap/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,9 @@ const LLD_FILE_NAMES: &[&str] = &["ld.lld", "ld64.lld", "lld-link", "wasm-ld"];
/// You can visit `https://github.com/rust-lang/rust/pull/{any-id-from-the-list}` to
/// check for more details regarding each change.
///
/// If you make any major changes (such as adding new values or changing default values), please
/// ensure that the associated PR ID is added to the end of this list.
/// If you make any major changes (such as adding new values or changing default values),
/// please ensure that the associated PR ID is added to the end of this list.
/// This is necessary because the list must be sorted by the merge date.
pub const CONFIG_CHANGE_HISTORY: &[usize] = &[115898, 116998, 117435, 116881];

/// Extra --check-cfg to add when building
Expand Down Expand Up @@ -1850,8 +1851,10 @@ fn envify(s: &str) -> String {

pub fn find_recent_config_change_ids(current_id: usize) -> Vec<usize> {
if !CONFIG_CHANGE_HISTORY.contains(&current_id) {
// If the current change-id is greater than the most recent one,
// return an empty list; otherwise, return the full list.
// If the current change-id is greater than the most recent one, return
// an empty list (it may be due to switching from a recent branch to an
// older one); otherwise, return the full list (assuming the user provided
// the incorrect change-id by accident).
if let Some(max_id) = CONFIG_CHANGE_HISTORY.iter().max() {
if &current_id > max_id {
return Vec::new();
Expand Down