Skip to content

Commit 1024048

Browse files
committed
Auto merge of #163483 - Mark-Simulacrum:bootstrap-bump, r=<try>
Bump bootstrap compiler to 1.100.0 beta try-job: dist-loongarch64-musl
2 parents 837b18a + daa2432 commit 1024048

80 files changed

Lines changed: 771 additions & 826 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎compiler/rustc/src/main.rs‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// We need this feature as it changes `dylib` linking behavior and allows us to link to `rustc_driver`.
22
#![feature(rustc_private)]
3-
// Several crates are depended upon but unused so that they are present in the sysroot
4-
#![expect(unused_crate_dependencies)]
53

64
use std::process::ExitCode;
75

‎compiler/rustc_arena/src/lib.rs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
// tidy-alphabetical-start
1111
#![allow(clippy::mut_from_ref)] // Arena allocators are one place where this pattern is fine.
1212
#![allow(internal_features)]
13-
#![cfg_attr(bootstrap, feature(never_type))]
1413
#![cfg_attr(bootstrap, feature(unwrap_infallible))]
1514
#![cfg_attr(test, feature(test))]
1615
#![deny(unsafe_op_in_unsafe_fn)]

‎compiler/rustc_ast_ir/src/lib.rs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
88
// tidy-alphabetical-start
99
#![cfg_attr(feature = "nightly", allow(internal_features))]
10-
#![cfg_attr(feature = "nightly", cfg_attr(bootstrap, feature(never_type)))]
1110
#![cfg_attr(feature = "nightly", feature(rustc_attrs))]
1211
// tidy-alphabetical-end
1312

‎compiler/rustc_attr_ir/src/attribute_docs.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ macro_rules! include_example {
1212
};
1313
}
1414

15-
#[cfg_attr(not(bootstrap), doc(attribute = "rustc_dump_clauses"))]
15+
#[doc(attribute = "rustc_dump_clauses")]
1616
/// Dumps the list of [`ty::Clause`]s as computed by the [`clauses_of`] query.
1717
///
1818
/// See [`AttributeKind::RustcDumpClauses`] for the internal representation of this attribute.

‎compiler/rustc_borrowck/src/lib.rs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
33
// tidy-alphabetical-start
44
#![allow(internal_features)]
5-
#![cfg_attr(bootstrap, feature(never_type))]
65
#![feature(default_field_values)]
76
#![feature(deref_patterns)]
87
#![feature(file_buffered)]

‎compiler/rustc_codegen_llvm/src/common.rs‎

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -67,30 +67,30 @@ pub(crate) fn maybe_sign_fn_ptr<'ll, 'tcx>(
6767
}
6868

6969
/*
70-
* A note on nomenclature of linking: "extern", "foreign", and "upcall".
71-
*
72-
* An "extern" is an LLVM symbol we wind up emitting an undefined external
73-
* reference to. This means "we don't have the thing in this compilation unit,
74-
* please make sure you link it in at runtime". This could be a reference to
75-
* C code found in a C library, or rust code found in a rust crate.
76-
*
77-
* Most "externs" are implicitly declared (automatically) as a result of a
78-
* user declaring an extern _module_ dependency; this causes the rust driver
79-
* to locate an extern crate, scan its compilation metadata, and emit extern
80-
* declarations for any symbols used by the declaring crate.
81-
*
82-
* A "foreign" is an extern that references C (or other non-rust ABI) code.
83-
* There is no metadata to scan for extern references so in these cases either
84-
* a header-digester like bindgen, or manual function prototypes, have to
85-
* serve as declarators. So these are usually given explicitly as prototype
86-
* declarations, in rust code, with ABI attributes on them noting which ABI to
87-
* link via.
88-
*
89-
* An "upcall" is a foreign call generated by the compiler (not corresponding
90-
* to any user-written call in the code) into the runtime library, to perform
91-
* some helper task such as bringing a task to life, allocating memory, etc.
92-
*
93-
*/
70+
* A note on nomenclature of linking: "extern", "foreign", and "upcall".
71+
*
72+
* An "extern" is an LLVM symbol we wind up emitting an undefined external
73+
* reference to. This means "we don't have the thing in this compilation unit,
74+
* please make sure you link it in at runtime". This could be a reference to
75+
* C code found in a C library, or rust code found in a rust crate.
76+
*
77+
* Most "externs" are implicitly declared (automatically) as a result of a
78+
* user declaring an extern _module_ dependency; this causes the rust driver
79+
* to locate an extern crate, scan its compilation metadata, and emit extern
80+
* declarations for any symbols used by the declaring crate.
81+
*
82+
* A "foreign" is an extern that references C (or other non-rust ABI) code.
83+
* There is no metadata to scan for extern references so in these cases either
84+
* a header-digester like bindgen, or manual function prototypes, have to
85+
* serve as declarators. So these are usually given explicitly as prototype
86+
* declarations, in rust code, with ABI attributes on them noting which ABI to
87+
* link via.
88+
*
89+
* An "upcall" is a foreign call generated by the compiler (not corresponding
90+
* to any user-written call in the code) into the runtime library, to perform
91+
* some helper task such as bringing a task to life, allocating memory, etc.
92+
*
93+
*/
9494

9595
/// A structure representing an active landing pad for the duration of a basic
9696
/// block.

‎compiler/rustc_codegen_llvm/src/lib.rs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
//! This API is completely unstable and subject to change.
66
77
// tidy-alphabetical-start
8-
#![cfg_attr(bootstrap, feature(trim_prefix_suffix))]
98
#![feature(extern_types)]
109
#![feature(file_buffered)]
1110
#![feature(impl_trait_in_assoc_type)]

‎compiler/rustc_const_eval/src/lib.rs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// tidy-alphabetical-start
2-
#![cfg_attr(bootstrap, feature(never_type))]
32
#![feature(array_try_map)]
43
#![feature(decl_macro)]
54
#![feature(deref_patterns)]

‎compiler/rustc_data_structures/src/lib.rs‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,10 @@
1010
#![allow(internal_features)]
1111
#![allow(rustc::default_hash_types)]
1212
#![allow(rustc::potential_query_instability)]
13-
#![cfg_attr(bootstrap, feature(allocator_api))]
14-
#![cfg_attr(bootstrap, feature(never_type))]
1513
#![cfg_attr(bootstrap, feature(unwrap_infallible))]
16-
#![cfg_attr(not(bootstrap), feature(allocator_ext))]
1714
#![cfg_attr(test, feature(test))]
1815
#![deny(unsafe_op_in_unsafe_fn)]
16+
#![feature(allocator_ext)]
1917
#![feature(ascii_char)]
2018
#![feature(ascii_char_variants)]
2119
#![feature(auto_traits)]

‎compiler/rustc_driver_impl/src/lib.rs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
//! This API is completely unstable and subject to change.
66
77
// tidy-alphabetical-start
8-
#![cfg_attr(bootstrap, feature(trim_prefix_suffix))]
98
#![feature(decl_macro)]
109
#![feature(file_buffered)]
1110
#![feature(panic_backtrace_config)]

0 commit comments

Comments
 (0)