Skip to content

Rustc pull update #1883

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 28 commits into from
Jul 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
75cc5e6
Rollup merge of #143642 - Kobzol:stdarch-push, r=Amanieu
tgross35 Jul 11, 2025
785d1e5
Rollup merge of #143707 - Kobzol:bootstrap-std-check, r=jieyouxu
tgross35 Jul 11, 2025
65ecfe1
Rollup merge of #143722 - oli-obk:sound-llvm, r=dianqk
tgross35 Jul 11, 2025
ba6825e
Rollup merge of #143728 - LorrensP-2158466:refactor-resolve-extractio…
tgross35 Jul 11, 2025
13a45fa
Rollup merge of #143742 - estebank:borrow-suggestion, r=compiler-errors
tgross35 Jul 11, 2025
9c720d4
Rollup merge of #143744 - fmease:lta-expand-proper-depth, r=compiler-…
tgross35 Jul 11, 2025
5b5502f
Auto merge of #143762 - tgross35:rollup-n9t27c6, r=tgross35
bors Jul 11, 2025
e2f0c19
Auto merge of #142911 - mejrs:unsized, r=compiler-errors
bors Jul 11, 2025
5f187b4
Auto merge of #143624 - tmiasko:copy-prop-borrowed, r=cjgillot
bors Jul 12, 2025
ea78c81
Auto merge of #140717 - mejrs:diagnostic_lints, r=oli-obk
bors Jul 13, 2025
e704707
Auto merge of #143213 - dianne:lower-cond-tweaks, r=cjgillot
bors Jul 13, 2025
a1fc631
Auto merge of #143617 - aDotInTheVoid:devdesktoptestattr, r=Mark-Simu…
bors Jul 13, 2025
da93151
Auto merge of #143461 - folkertdev:cfg-select-builtin-macro, r=petroc…
bors Jul 13, 2025
9a97388
Auto merge of #143745 - flip1995:clippy-subtree-update, r=Manishearth
bors Jul 14, 2025
9e614d4
Auto merge of #142885 - a1phyr:borrowed_cursor_to_buf, r=Mark-Simulacrum
bors Jul 14, 2025
7395229
Auto merge of #143877 - xizheyin:143813, r=scottmcm,saethlin
bors Jul 15, 2025
41172f9
Auto merge of #143641 - Kobzol:tool-target, r=jieyouxu
bors Jul 19, 2025
e78717d
Auto merge of #144222 - Kobzol:stdarch-push, r=folkertdev
bors Jul 22, 2025
b49b781
Move `std_detect` from `library/stdarch` to `library`
Kobzol Jul 4, 2025
632cbbd
Update stdarch README
Kobzol Jul 4, 2025
d098529
Remove `std_detect` from stdarch examples
Kobzol Jul 13, 2025
ce2b33f
Remove `std_detect` from stdarch's CI
Kobzol Jul 13, 2025
27cbf0e
Auto merge of #144249 - GuillaumeGomez:asm-tests, r=jieyouxu
bors Jul 22, 2025
7b3c175
Auto merge of #143897 - cjgillot:derive-walk, r=petrochenkov
bors Jul 23, 2025
59749e9
Auto merge of #143412 - Kobzol:std-detect-in-stdlib, r=Amanieu
bors Jul 23, 2025
731d780
Prepare for merging from rust-lang/rust
Kobzol Jul 23, 2025
4ef71c0
Merge ref '5a30e4307f05' from rust-lang/rust
Kobzol Jul 23, 2025
9de8a0f
Reformat code
Kobzol Jul 23, 2025
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
13 changes: 1 addition & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ jobs:
# Check that the generated files agree with the checked-in versions.
check-stdarch-gen:
needs: [style]
name: Check stdarch-gen-{arm, loongarch} output
name: Check stdarch-gen-{arm, loongarch} output
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -277,22 +277,11 @@ jobs:
cargo run --bin=stdarch-gen-loongarch --release -- crates/stdarch-gen-loongarch/lasx.spec
git diff --exit-code

build-std-detect:
needs: [style]
name: Build std_detect
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
run: rustup update nightly && rustup default nightly
- run: ./ci/build-std-detect.sh

conclusion:
needs:
- docs
- verify
- test
- build-std-detect
- check-stdarch-gen
runs-on: ubuntu-latest
# We need to ensure this job does *not* get skipped if its dependencies fail,
Expand Down
23 changes: 0 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 1 addition & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,8 @@ stdarch - Rust's standard library SIMD components
[![Actions Status](https://github.com/rust-lang/stdarch/workflows/CI/badge.svg)](https://github.com/rust-lang/stdarch/actions)


# Crates

This repository contains two main crates:

* [`core_arch`](crates/core_arch/README.md) implements `core::arch` - Rust's
core library architecture-specific intrinsics, and
This repository contains the [`core_arch`](crates/core_arch/README.md) crate, which implements `core::arch` - Rust's core library architecture-specific intrinsics.

* [`std_detect`](crates/std_detect/README.md) implements `std::detect` - Rust's
standard library run-time CPU feature detection.

The `std::simd` component now lives in the
[`packed_simd_2`](https://github.com/rust-lang/packed_simd) crate.

Expand Down
46 changes: 0 additions & 46 deletions ci/build-std-detect.sh

This file was deleted.

3 changes: 0 additions & 3 deletions ci/dox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ dox() {
cargo clean --target "${1}"

cargo build --verbose --target "${1}" --manifest-path crates/core_arch/Cargo.toml
cargo build --verbose --target "${1}" --manifest-path crates/std_detect/Cargo.toml

cargo doc --verbose --target "${1}" --manifest-path crates/core_arch/Cargo.toml
cargo doc --verbose --target "${1}" --manifest-path crates/std_detect/Cargo.toml
}

if [ -z "$1" ]; then
Expand Down
1 change: 0 additions & 1 deletion ci/run-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ run() {
--env NORUN \
--env RUSTFLAGS \
--env CARGO_UNSTABLE_BUILD_STD \
--env RUST_STD_DETECT_UNSTABLE \
--volume "${HOME}/.cargo":/cargo \
--volume "$(rustc --print sysroot)":/rust:ro \
--volume "$(pwd)":/checkout:ro \
Expand Down
10 changes: 1 addition & 9 deletions ci/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,20 +78,12 @@ cargo_test() {
}

CORE_ARCH="--manifest-path=crates/core_arch/Cargo.toml"
STD_DETECT="--manifest-path=crates/std_detect/Cargo.toml"
STDARCH_EXAMPLES="--manifest-path=examples/Cargo.toml"
INTRINSIC_TEST="--manifest-path=crates/intrinsic-test/Cargo.toml"

cargo_test "${CORE_ARCH} ${PROFILE}"

if [ "$NOSTD" != "1" ]; then
cargo_test "${STD_DETECT} ${PROFILE}"

cargo_test "${STD_DETECT} --no-default-features"
cargo_test "${STD_DETECT} --no-default-features --features=std_detect_file_io"
cargo_test "${STD_DETECT} --no-default-features --features=std_detect_dlsym_getauxval"
cargo_test "${STD_DETECT} --no-default-features --features=std_detect_dlsym_getauxval,std_detect_file_io"

cargo_test "${STDARCH_EXAMPLES} ${PROFILE}"
fi

Expand Down Expand Up @@ -139,7 +131,7 @@ case ${TARGET} in
cargo_test "${PROFILE}"
;;

# Setup aarch64 & armv7 specific variables, the runner, along with some
# Setup aarch64 & armv7 specific variables, the runner, along with some
# tests to skip
aarch64-unknown-linux-gnu*)
TEST_CPPFLAGS="-fuse-ld=lld -I/usr/aarch64-linux-gnu/include/ -I/usr/aarch64-linux-gnu/include/c++/9/aarch64-linux-gnu/"
Expand Down
41 changes: 0 additions & 41 deletions crates/std_detect/Cargo.toml

This file was deleted.

Loading