Files
rust/library/stdarch
bors 36aeef32c6 Auto merge of #156674 - xonx4l:port-stdarch-gen, r=Kobzol
bootstrap: add bootstrap step to run stdarch-gen checks in CI



This PR ports stdarch-gen checks into the bootstrap test runner as a step, so that we can run the stdarch-gen checks via x.py test.

Changes -:
-> Adds a new `StdarchGenCheck` bootstrap step.
-> Mirrors `f71ac102d3/.github/workflows/main.yml (L309-L333)` (check-stdarch-gen job) 
-> `stdarch-gen-arm` uses a nightly only feature (`#![feature(pattern)]`) but bootstrap's cargo runs on the beta toolchain thus we set `RUSTC_BOOTSTRAP=1` on the child process so it builds.
-> The generators call out to `rustfmt` to format their output so `rustfmt` needs to be on `PATH`. So added bootstrap's rustfmt  to `PATH` before each run. If rustfmt isn't available, the step fails early and tells the user to set `rustfmt = true` in `bootstrap.toml` .

r? @Kobzol
2026-10-08 00:15:32 +00:00
..
2026-09-17 21:30:00 +02:00
2026-09-17 21:30:00 +02:00
2026-09-17 21:30:00 +02:00
…
2026-09-13 20:16:32 -04:00

stdarch - Rust's standard library SIMD components

Actions Status

This repository contains the core_arch crate, which implements core::arch - Rust's core library architecture-specific intrinsics.

The std::simd component now lives in the packed_simd_2 crate.

Synchronizing josh subtree with rustc

This repository is linked to rust-lang/rust as a josh subtree. You can use the rustc-josh-sync tool to perform synchronization.

You can find a guide on how to perform the synchronization here.