Skip to content

Commit b8c54d6

Browse files
committed
Auto merge of rust-lang#140083 - ChrisDenton:rollup-o0xjy0y, r=ChrisDenton
Rollup of 5 pull requests Successful merges: - rust-lang#138870 (Add target-specific NaN payloads for the missing tier 2 targets) - rust-lang#139028 (Make target maintainers more easily pingable) - rust-lang#140063 (Remove stray newline from post-merge report) - rust-lang#140067 (Remove (now unused) #[rustc_macro_edition_2021] attribute) - rust-lang#140068 (replace broken links armv7-rtems-eabihf.md) r? `@ghost` `@rustbot` modify labels: rollup
2 parents 49e5e4e + 637518b commit b8c54d6

File tree

98 files changed

+185
-211
lines changed

Some content is hidden

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

98 files changed

+185
-211
lines changed

Diff for: compiler/rustc_attr_data_structures/src/attributes.rs

-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ pub enum AttributeKind {
191191
},
192192
MacroTransparency(Transparency),
193193
Repr(ThinVec<(ReprAttr, Span)>),
194-
RustcMacroEdition2021,
195194
Stability {
196195
stability: Stability,
197196
/// Span of the `#[stable(...)]` or `#[unstable(...)]` attribute

Diff for: compiler/rustc_attr_parsing/src/attributes/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ pub(crate) mod cfg;
2828
pub(crate) mod confusables;
2929
pub(crate) mod deprecation;
3030
pub(crate) mod repr;
31-
pub(crate) mod rustc;
3231
pub(crate) mod stability;
3332
pub(crate) mod transparency;
3433
pub(crate) mod util;

Diff for: compiler/rustc_attr_parsing/src/attributes/rustc.rs

-19
This file was deleted.

Diff for: compiler/rustc_attr_parsing/src/context.rs

-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ use crate::attributes::allow_unstable::{AllowConstFnUnstableParser, AllowInterna
1515
use crate::attributes::confusables::ConfusablesParser;
1616
use crate::attributes::deprecation::DeprecationParser;
1717
use crate::attributes::repr::ReprParser;
18-
use crate::attributes::rustc::RustcMacroEdition2021Parser;
1918
use crate::attributes::stability::{
2019
BodyStabilityParser, ConstStabilityIndirectParser, ConstStabilityParser, StabilityParser,
2120
};
@@ -77,7 +76,6 @@ attribute_groups!(
7776
// tidy-alphabetical-start
7877
Single<ConstStabilityIndirectParser>,
7978
Single<DeprecationParser>,
80-
Single<RustcMacroEdition2021Parser>,
8179
Single<TransparencyParser>,
8280
// tidy-alphabetical-end
8381
];

Diff for: compiler/rustc_feature/src/builtin_attrs.rs

-8
Original file line numberDiff line numberDiff line change
@@ -676,14 +676,6 @@ pub static BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
676676
"`rustc_never_type_options` is used to experiment with never type fallback and work on \
677677
never type stabilization, and will never be stable"
678678
),
679-
rustc_attr!(
680-
rustc_macro_edition_2021,
681-
Normal,
682-
template!(Word),
683-
ErrorFollowing,
684-
EncodeCrossCrate::No,
685-
"makes spans in this macro edition 2021"
686-
),
687679

688680
// ==========================================================================
689681
// Internal attributes: Runtime related:

Diff for: compiler/rustc_resolve/src/macros.rs

+1-8
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use std::sync::Arc;
88
use rustc_ast::expand::StrippedCfgItem;
99
use rustc_ast::{self as ast, Crate, NodeId, attr};
1010
use rustc_ast_pretty::pprust;
11-
use rustc_attr_parsing::{AttributeKind, StabilityLevel, find_attr};
11+
use rustc_attr_parsing::StabilityLevel;
1212
use rustc_data_structures::intern::Interned;
1313
use rustc_errors::{Applicability, DiagCtxtHandle, StashKey};
1414
use rustc_expand::base::{
@@ -1128,13 +1128,6 @@ impl<'ra, 'tcx> Resolver<'ra, 'tcx> {
11281128
edition,
11291129
);
11301130

1131-
// The #[rustc_macro_edition_2021] attribute is used by the pin!() macro
1132-
// as a temporary workaround for a regression in expressiveness in Rust 2024.
1133-
// See https://github.com/rust-lang/rust/issues/138718.
1134-
if find_attr!(attrs.iter(), AttributeKind::RustcMacroEdition2021) {
1135-
ext.edition = Edition::Edition2021;
1136-
}
1137-
11381131
if let Some(builtin_name) = ext.builtin_name {
11391132
// The macro was marked with `#[rustc_builtin_macro]`.
11401133
if let Some(builtin_ext_kind) = self.builtin_macros.get(&builtin_name) {

Diff for: compiler/rustc_span/src/symbol.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1824,7 +1824,6 @@ symbols! {
18241824
rustc_lint_opt_ty,
18251825
rustc_lint_query_instability,
18261826
rustc_lint_untracked_query_information,
1827-
rustc_macro_edition_2021,
18281827
rustc_macro_transparency,
18291828
rustc_main,
18301829
rustc_mir,

Diff for: library/core/src/primitive_docs.rs

+5-3
Original file line numberDiff line numberDiff line change
@@ -1307,10 +1307,12 @@ mod prim_f16 {}
13071307
// FIXME: Is there a better place to put this?
13081308
///
13091309
/// | `target_arch` | Extra payloads possible on this platform |
1310-
/// |---------------|---------|
1311-
/// | `x86`, `x86_64`, `arm`, `aarch64`, `riscv32`, `riscv64` | None |
1310+
/// |---------------|------------------------------------------|
1311+
// Sorted alphabetically
1312+
/// | `aarch64`, `arm`, `arm64ec`, `loongarch64`, `powerpc` (except when `target_abi = "spe"`), `powerpc64`, `riscv32`, `riscv64`, `s390x`, `x86`, `x86_64` | None |
1313+
/// | `nvptx64` | All payloads |
13121314
/// | `sparc`, `sparc64` | The all-one payload |
1313-
/// | `wasm32`, `wasm64` | If all input NaNs are quiet with all-zero payload: None.<br> Otherwise: all possible payloads. |
1315+
/// | `wasm32`, `wasm64` | If all input NaNs are quiet with all-zero payload: None.<br> Otherwise: all payloads. |
13141316
///
13151317
/// For targets not in this table, all payloads are possible.
13161318
///

Diff for: src/ci/citool/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ fn post_merge_report(db: JobDatabase, current: String, parent: String) -> anyhow
191191

192192
output_details("Test dashboard", || {
193193
println!(
194-
r#"\nRun
194+
r#"Run
195195
196196
```bash
197197
cargo run --manifest-path src/ci/citool/Cargo.toml -- \

Diff for: src/doc/rustc/src/platform-support/TEMPLATE.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ One-sentence description of the target (e.g. CPU, OS)
66

77
## Target maintainers
88

9-
- Some Person, https://github.com/...
9+
[@Ghost](https://github.com/Ghost)
10+
[@octocat](https://github.com/octocat)
1011

1112
## Requirements
1213

Diff for: src/doc/rustc/src/platform-support/aarch64-nintendo-switch-freestanding.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
Nintendo Switch with pure-Rust toolchain.
66

7-
## Designated Developers
7+
## Target Maintainers
88

9-
* [@leo60228](https://github.com/leo60228)
10-
* [@jam1garner](https://github.com/jam1garner)
9+
[@leo60228](https://github.com/leo60228)
10+
[@jam1garner](https://github.com/jam1garner)
1111

1212
## Requirements
1313

Diff for: src/doc/rustc/src/platform-support/aarch64-unknown-teeos.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ TEEOS is open source in progress. [MORE about](https://gitee.com/opentrustee-gro
2020

2121
## Target maintainers
2222

23-
- Petrochenkov Vadim
24-
- Sword-Destiny
23+
[@petrochenkov](https://github.com/petrochenkov)
24+
[@Sword-Destiny](https://github.com/Sword-Destiny)
2525

2626
## Setup
2727
We use OpenHarmony SDK for TEEOS.

Diff for: src/doc/rustc/src/platform-support/aix.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Rust for AIX operating system, currently only 64-bit PowerPC is supported.
66

77
## Target maintainers
88

9-
- David Tenty `[email protected]`, https://github.com/daltenty
10-
- Chris Cambly, `[email protected]`, https://github.com/gilamn5tr
9+
[@daltenty](https://github.com/daltenty)
10+
[@gilamn5tr](https://github.com/gilamn5tr)
1111

1212
## Requirements
1313

Diff for: src/doc/rustc/src/platform-support/amdgcn-amd-amdhsa.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ AMD GPU target for compute/HSA (Heterogeneous System Architecture).
66

77
## Target maintainers
88

9-
- [@Flakebi](https://github.com/Flakebi)
9+
[@Flakebi](https://github.com/Flakebi)
1010

1111
## Requirements
1212

Diff for: src/doc/rustc/src/platform-support/android.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88

99
## Target maintainers
1010

11-
- Chris Wailes ([@chriswailes](https://github.com/chriswailes))
12-
- Matthew Maurer ([@maurer](https://github.com/maurer))
13-
- Martin Geisler ([@mgeisler](https://github.com/mgeisler))
11+
[@chriswailes](https://github.com/chriswailes)
12+
[@maurer](https://github.com/maurer)
13+
[@mgeisler](https://github.com/mgeisler)
1414

1515
## Requirements
1616

Diff for: src/doc/rustc/src/platform-support/apple-darwin.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Apple macOS targets.
99

1010
## Target maintainers
1111

12-
- [@thomcc](https://github.com/thomcc)
13-
- [@madsmtm](https://github.com/madsmtm)
12+
[@thomcc](https://github.com/thomcc)
13+
[@madsmtm](https://github.com/madsmtm)
1414

1515
## Requirements
1616

Diff for: src/doc/rustc/src/platform-support/apple-ios-macabi.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ Apple Mac Catalyst targets.
99

1010
## Target maintainers
1111

12-
- [@badboy](https://github.com/badboy)
13-
- [@BlackHoleFox](https://github.com/BlackHoleFox)
14-
- [@madsmtm](https://github.com/madsmtm)
12+
[@badboy](https://github.com/badboy)
13+
[@BlackHoleFox](https://github.com/BlackHoleFox)
14+
[@madsmtm](https://github.com/madsmtm)
1515

1616
## Requirements
1717

Diff for: src/doc/rustc/src/platform-support/apple-ios.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ Apple iOS / iPadOS targets.
1515

1616
## Target maintainers
1717

18-
- [@badboy](https://github.com/badboy)
19-
- [@deg4uss3r](https://github.com/deg4uss3r)
20-
- [@madsmtm](https://github.com/madsmtm)
18+
[@badboy](https://github.com/badboy)
19+
[@deg4uss3r](https://github.com/deg4uss3r)
20+
[@madsmtm](https://github.com/madsmtm)
2121

2222
## Requirements
2323

Diff for: src/doc/rustc/src/platform-support/apple-tvos.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ Apple tvOS targets.
1010

1111
## Target maintainers
1212

13-
- [@thomcc](https://github.com/thomcc)
14-
- [@madsmtm](https://github.com/madsmtm)
13+
[@thomcc](https://github.com/thomcc)
14+
[@madsmtm](https://github.com/madsmtm)
1515

1616
## Requirements
1717

Diff for: src/doc/rustc/src/platform-support/apple-visionos.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Apple visionOS / xrOS targets.
99

1010
## Target maintainers
1111

12-
- [@agg23](https://github.com/agg23)
13-
- [@madsmtm](https://github.com/madsmtm)
12+
[@agg23](https://github.com/agg23)
13+
[@madsmtm](https://github.com/madsmtm)
1414

1515
## Requirements
1616

Diff for: src/doc/rustc/src/platform-support/apple-watchos.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ Apple watchOS targets.
1212

1313
## Target maintainers
1414

15-
- [@deg4uss3r](https://github.com/deg4uss3r)
16-
- [@vladimir-ea](https://github.com/vladimir-ea)
17-
- [@leohowell](https://github.com/leohowell)
18-
- [@madsmtm](https://github.com/madsmtm)
15+
[@deg4uss3r](https://github.com/deg4uss3r)
16+
[@vladimir-ea](https://github.com/vladimir-ea)
17+
[@leohowell](https://github.com/leohowell)
18+
[@madsmtm](https://github.com/madsmtm)
1919

2020
## Requirements
2121

Diff for: src/doc/rustc/src/platform-support/arm64e-apple-darwin.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ARM64e macOS (11.0+, Big Sur+)
66

77
## Target maintainers
88

9-
- Artyom Tetyukhin ([@arttet](https://github.com/arttet))
9+
[@arttet](https://github.com/arttet)
1010

1111
## Requirements
1212

Diff for: src/doc/rustc/src/platform-support/arm64e-apple-ios.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ARM64e iOS (14.0+)
66

77
## Target maintainers
88

9-
- Artyom Tetyukhin ([@arttet](https://github.com/arttet))
9+
[@arttet](https://github.com/arttet)
1010

1111
## Requirements
1212

Diff for: src/doc/rustc/src/platform-support/arm64e-apple-tvos.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ARM64e tvOS (10.0+)
66

77
## Target maintainers
88

9-
- Artyom Tetyukhin ([@arttet](https://github.com/arttet))
9+
[@arttet](https://github.com/arttet)
1010

1111
## Requirements
1212

Diff for: src/doc/rustc/src/platform-support/arm64ec-pc-windows-msvc.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ applications on AArch64 Windows 11. See <https://learn.microsoft.com/en-us/windo
77

88
## Target maintainers
99

10-
- [@dpaoliello](https://github.com/dpaoliello)
10+
[@dpaoliello](https://github.com/dpaoliello)
1111

1212
## Requirements
1313

Diff for: src/doc/rustc/src/platform-support/armeb-unknown-linux-gnueabi.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ BE8 architecture retains the same little-endian ordered code-stream used by conv
1010
BE8 architecture is the default big-endian architecture for Arm since [Armv6](https://developer.arm.com/documentation/101754/0616/armlink-Reference/armlink-Command-line-Options/--be8?lang=en). It's predecessor, used for Armv4 and Armv5 devices was [BE32](https://developer.arm.com/documentation/dui0474/j/linker-command-line-options/--be32). On Armv6 architecture, endianness can be configured via [system registers](https://developer.arm.com/documentation/ddi0290/g/unaligned-and-mixed-endian-data-access-support/mixed-endian-access-support/interaction-between-the-bus-protocol-and-the-core-endianness). However, BE32 was withdrawn for [Armv7](https://developer.arm.com/documentation/ddi0406/cb/Appendixes/Deprecated-and-Obsolete-Features/Obsolete-features/Support-for-BE-32-endianness-model) onwards.
1111

1212
## Target Maintainers
13-
* [@WorksButNotTested](https://github.com/WorksButNotTested)
13+
14+
[@WorksButNotTested](https://github.com/WorksButNotTested)
1415

1516
## Requirements
1617
The target is cross-compiled. This target supports `std` in the normal way (indeed only nominal changes are required from the standard Arm configuration).

Diff for: src/doc/rustc/src/platform-support/armv4t-none-eabi.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ overall performance.
1111

1212
## Target Maintainers
1313

14-
* [@Lokathor](https://github.com/lokathor)
15-
* [@corwinkuiper](https://github.com/corwinkuiper)
14+
[@Lokathor](https://github.com/lokathor)
15+
[@corwinkuiper](https://github.com/corwinkuiper)
1616

1717
## Testing
1818

Diff for: src/doc/rustc/src/platform-support/armv5te-none-eabi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ See [`arm-none-eabi`](arm-none-eabi.md) for information applicable to all
1313

1414
## Target Maintainers
1515

16-
* [@QuinnPainter](https://github.com/QuinnPainter)
16+
[@QuinnPainter](https://github.com/QuinnPainter)
1717

1818
## Testing
1919

Diff for: src/doc/rustc/src/platform-support/armv6k-nintendo-3ds.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ from nor used with any official Nintendo SDK.
1313
This target is maintained by members of the [@rust3ds](https://github.com/rust3ds)
1414
organization:
1515

16-
- [@Meziu](https://github.com/Meziu)
17-
- [@AzureMarker](https://github.com/AzureMarker)
18-
- [@ian-h-chamberlain](https://github.com/ian-h-chamberlain)
16+
[@Meziu](https://github.com/Meziu)
17+
[@AzureMarker](https://github.com/AzureMarker)
18+
[@ian-h-chamberlain](https://github.com/ian-h-chamberlain)
1919

2020
## Requirements
2121

Diff for: src/doc/rustc/src/platform-support/armv7-rtems-eabihf.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ ARM targets for the [RTEMS realtime operating system](https://www.rtems.org) us
66

77
## Target maintainers
88

9-
- [@thesummer](https://github.com/thesummer)
9+
[@thesummer](https://github.com/thesummer)
1010

1111
## Requirements
1212

1313
The target does not support host tools. Only cross-compilation is possible.
1414
The cross-compiler toolchain can be obtained by following the installation instructions
15-
of the [RTEMS Documentation](https://docs.rtems.org/branches/master/user/index.html). Additionally to the cross-compiler also a compiled BSP
15+
of the [RTEMS Documentation](https://docs.rtems.org/docs/main/user/index.html). Additionally to the cross-compiler also a compiled BSP
1616
for a board fitting the architecture needs to be available on the host.
1717
Currently tested has been the BSP `xilinx_zynq_a9_qemu` of RTEMS 6.
1818

@@ -49,4 +49,4 @@ While basic execution of the unit test harness seems to work. However, running t
4949
## Cross-compilation toolchains and C code
5050

5151
Compatible C-code can be built with the RTEMS cross-compiler toolchain `arm-rtems6-gcc`.
52-
For more information how to build the toolchain, RTEMS itself and RTEMS applications please have a look at the [RTEMS Documentation](https://docs.rtems.org/branches/master/user/index.html).
52+
For more information how to build the toolchain, RTEMS itself and RTEMS applications please have a look at the [RTEMS Documentation](https://docs.rtems.org/docs/main/user/index.html).

Diff for: src/doc/rustc/src/platform-support/armv7-sony-vita-newlibeabihf.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ from nor used with any official Sony SDK.
99

1010
## Target maintainers
1111

12-
* [@nikarh](https://github.com/nikarh)
13-
* [@pheki](https://github.com/pheki)
14-
* [@ZetaNumbers](https://github.com/ZetaNumbers)
12+
[@nikarh](https://github.com/nikarh)
13+
[@pheki](https://github.com/pheki)
14+
[@zetanumbers](https://github.com/zetanumbers)
1515

1616
## Requirements
1717

Diff for: src/doc/rustc/src/platform-support/armv7-unknown-linux-uclibceabi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This target supports Armv7-A softfloat CPUs and uses the uclibc-ng standard libr
66

77
## Target maintainers
88

9-
* [@lancethepants](https://github.com/lancethepants)
9+
[@lancethepants](https://github.com/lancethepants)
1010

1111
## Requirements
1212

Diff for: src/doc/rustc/src/platform-support/armv7-unknown-linux-uclibceabihf.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
This tier supports the Armv7-A processor running a Linux kernel and uClibc-ng standard library. It provides full support for rust and the rust standard library.
66

7-
## Designated Developers
7+
## Target Maintainers
88

9-
* [@skrap](https://github.com/skrap)
9+
[@skrap](https://github.com/skrap)
1010

1111
## Requirements
1212

0 commit comments

Comments
 (0)