Skip to content

Add bootstrap command to check all Tier 2+ targets - #162053

Open
Kobzol wants to merge 2 commits into
rust-lang:mainfrom
Kobzol:check-all-targets
Open

Kobzol wants to merge 2 commits into
rust-lang:mainfrom
Kobzol:check-all-targets

Conversation

@Kobzol

@Kobzol Kobzol commented Aug 31, 2026 •

Copy link
Copy Markdown
Member

View all comments

Alternative to #162020 (CC @ChrisDenton).

I suspect it will be way to slow when run serially on CI though.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Aug 31, 2026
@rustbot

rustbot commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

r? @clubby789

rustbot has assigned @clubby789.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: bootstrap
  • bootstrap expanded to 6 candidates
  • Random selection from Mark-Simulacrum, clubby789

@rustbot rustbot added A-CI Area: Our Github Actions CI A-testsuite Area: The testsuite used to check the correctness of rustc T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. labels Aug 31, 2026
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@Kobzol
Kobzol force-pushed the check-all-targets branch from c70b513 to aa1788d Compare August 31, 2026 14:21
@Kobzol

Kobzol commented Aug 31, 2026

Copy link
Copy Markdown
Member Author

Well, it's too slow for PR CI, but fine for an auto job.

@ChrisDenton

Copy link
Copy Markdown
Member

Something we can try sounds great. Usually reviewers will be aware if the PR is touching platform specific code. And it can be run on rollups if/when needed.

Comment thread src/bootstrap/src/core/builder/mod.rs Resolved
@rust-bors

This comment has been minimized.

@rustbot

This comment has been minimized.

@Kobzol

Kobzol commented Sep 7, 2026

Copy link
Copy Markdown
Member Author

The step is not executed anywhere on CI now. We can either:

  • Add a new auto job that will run it on all merges. But we should already be testing these targets elsewhere. But I think that this might actually be a good thing, because I'd like for our CI to be more comprehensible, and having a job that "checks all Tier1/Tier2 stdlibs" seems quite reasonable.
  • Add it as an optional job, so that libs reviewers/PR authors can check stdlibs when they make changes where they expect that something may break.

r? ChrisDenton (mostly for the design aspects, how libs wants to use this step)

@rustbot rustbot assigned ChrisDenton and unassigned clubby789 Sep 7, 2026
@ChrisDenton

Copy link
Copy Markdown
Member

After thinking about it, I do like the first option (having a job that checks all std tier 1/2 targets). Maybe it could also check std docs? I guess it might depend on how much it adds to the time.

@rustbot

rustbot commented Sep 18, 2026

Copy link
Copy Markdown
Collaborator

Warning

If you are changing how CI LLVM is built or linked, make sure to bump
src/bootstrap/download-ci-llvm-stamp.

cc @jieyouxu

@Kobzol

Kobzol commented Sep 18, 2026

Copy link
Copy Markdown
Member Author

@bors try jobs=test-x86_64-gnu-stdlib-important-targets

@rustbot

rustbot commented Sep 18, 2026

Copy link
Copy Markdown
Collaborator

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Sep 18, 2026
Add bootstrap command to check all Tier 2+ targets


try-job: test-x86_64-gnu-stdlib-important-targets
@rust-bors rust-bors Bot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 18, 2026
@rust-bors

rust-bors Bot commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

💔 Test for 30b4435 failed: CI. Failed job:

@rust-log-analyzer

This comment has been minimized.

@Kobzol

Kobzol commented Sep 18, 2026

Copy link
Copy Markdown
Member Author

@bors try jobs=test-x86_64-gnu-stdlib-important-targets

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Sep 18, 2026
Add bootstrap command to check all Tier 2+ targets


try-job: test-x86_64-gnu-stdlib-important-targets
@rust-bors

rust-bors Bot commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

💔 Test for 5491045 failed: CI. Failed job:

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job test-x86_64-gnu-stdlib-important-targets failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
[RUSTC-TIMING] find_msvc_tools test:false 0.329
[RUSTC-TIMING] cc test:false 0.239
   Compiling compiler_builtins v0.1.160 (/checkout/library/compiler-builtins/compiler-builtins)
[RUSTC-TIMING] build_script_build test:false 0.223
warning: compiler_builtins@0.1.160: cc: error: unrecognized command-line option '-arch'
warning: compiler_builtins@0.1.160: cc: error: unrecognized command-line option '-mmacosx-version-min=11.0'
error: failed to run custom build command for `compiler_builtins v0.1.160 (/checkout/library/compiler-builtins/compiler-builtins)`

Caused by:
  process didn't exit successfully: `/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/dist/build/compiler_builtins/816fc2d0c5fb375e/out/build_script_build` (exit status: 1)
  --- stdout
  cargo:rerun-if-env-changed=LIBM_BUILD_VERBOSE
  cargo::rerun-if-changed=build.rs
  cargo::rerun-if-changed=../libm/configure.rs
  cargo:rustc-check-cfg=cfg(thumb)
  cargo:rustc-check-cfg=cfg(thumb1_only)
  cargo:rustc-check-cfg=cfg(target_abi_eabihf)
  cargo:rustc-check-cfg=cfg(x86_no_sse2)
  cargo:rustc-check-cfg=cfg(target_feature, values("vfp2sp", "vfp2"))
  cargo:rustc-check-cfg=cfg(assert_no_panic)
  cargo:rustc-check-cfg=cfg(intrinsics_enabled)
  cargo:rustc-cfg=intrinsics_enabled
  cargo:rustc-check-cfg=cfg(optimizations_enabled)
  cargo:rustc-cfg=optimizations_enabled
  cargo:rustc-check-cfg=cfg(f16_enabled)
  cargo:rustc-cfg=f16_enabled
  cargo:rustc-check-cfg=cfg(f128_enabled)
  cargo:rustc-cfg=f128_enabled
  cargo::rustc-check-cfg=cfg(__ashldi3, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__ashlsi3, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__ashrdi3, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__ashrsi3, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__bswapsi2, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__bswapdi2, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__bswapti2, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__divdi3, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__divsi3, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__divmoddi4, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__divmodsi4, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__divmodsi4, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__divmodti4, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__lshrdi3, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__lshrsi3, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__moddi3, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__modsi3, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__muldi3, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__udivdi3, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__udivmoddi4, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__udivmodsi4, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__udivsi3, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__umoddi3, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__umodsi3, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas1_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas1_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas1_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas1_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas2_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas2_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas2_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas2_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas4_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas4_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas4_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas4_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas8_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas8_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas8_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas8_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas16_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas16_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas16_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas16_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldadd1_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldadd1_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldadd1_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldadd1_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldadd2_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldadd2_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldadd2_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldadd2_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldadd4_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldadd4_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldadd4_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldadd4_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldadd8_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldadd8_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldadd8_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldadd8_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldclr1_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldclr1_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldclr1_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldclr1_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldclr2_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldclr2_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldclr2_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldclr2_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldclr4_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldclr4_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldclr4_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldclr4_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldclr8_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldclr8_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldclr8_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldclr8_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldeor1_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldeor1_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldeor1_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldeor1_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldeor2_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldeor2_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldeor2_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldeor2_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldeor4_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldeor4_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldeor4_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldeor4_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldeor8_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldeor8_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldeor8_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldeor8_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldset1_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldset1_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldset1_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldset1_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldset2_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldset2_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldset2_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldset2_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldset4_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldset4_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldset4_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldset4_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldset8_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldset8_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldset8_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldset8_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_swp1_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_swp1_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_swp1_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_swp1_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_swp2_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_swp2_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_swp2_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_swp2_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_swp4_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_swp4_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_swp4_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_swp4_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_swp8_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_swp8_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_swp8_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_swp8_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(target_feature, values("vis3"))
  cargo:compiler-rt=/checkout/library/compiler-builtins/compiler-builtins/compiler-rt
  cargo:rustc-check-cfg=cfg(mem_unaligned)
  cargo:rustc-cfg=mem_unaligned
  cargo:rustc-check-cfg=cfg(kernel_user_helpers)
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/aarch64/lse.S
  cargo:rustc-cfg=__aarch64_cas1_relax="optimized-c"
  cargo:rustc-cfg=__aarch64_cas1_acq="optimized-c"
  cargo:rustc-cfg=__aarch64_cas1_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_cas1_acq_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_cas2_relax="optimized-c"
  cargo:rustc-cfg=__aarch64_cas2_acq="optimized-c"
  cargo:rustc-cfg=__aarch64_cas2_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_cas2_acq_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_cas4_relax="optimized-c"
  cargo:rustc-cfg=__aarch64_cas4_acq="optimized-c"
  cargo:rustc-cfg=__aarch64_cas4_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_cas4_acq_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_cas8_relax="optimized-c"
  cargo:rustc-cfg=__aarch64_cas8_acq="optimized-c"
  cargo:rustc-cfg=__aarch64_cas8_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_cas8_acq_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_cas16_relax="optimized-c"
  cargo:rustc-cfg=__aarch64_cas16_acq="optimized-c"
  cargo:rustc-cfg=__aarch64_cas16_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_cas16_acq_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_swp1_relax="optimized-c"
  cargo:rustc-cfg=__aarch64_swp1_acq="optimized-c"
  cargo:rustc-cfg=__aarch64_swp1_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_swp1_acq_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_swp2_relax="optimized-c"
  cargo:rustc-cfg=__aarch64_swp2_acq="optimized-c"
  cargo:rustc-cfg=__aarch64_swp2_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_swp2_acq_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_swp4_relax="optimized-c"
  cargo:rustc-cfg=__aarch64_swp4_acq="optimized-c"
  cargo:rustc-cfg=__aarch64_swp4_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_swp4_acq_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_swp8_relax="optimized-c"
  cargo:rustc-cfg=__aarch64_swp8_acq="optimized-c"
  cargo:rustc-cfg=__aarch64_swp8_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_swp8_acq_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_ldadd1_relax="optimized-c"
  cargo:rustc-cfg=__aarch64_ldadd1_acq="optimized-c"
  cargo:rustc-cfg=__aarch64_ldadd1_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_ldadd1_acq_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_ldadd2_relax="optimized-c"
  cargo:rustc-cfg=__aarch64_ldadd2_acq="optimized-c"
  cargo:rustc-cfg=__aarch64_ldadd2_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_ldadd2_acq_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_ldadd4_relax="optimized-c"
  cargo:rustc-cfg=__aarch64_ldadd4_acq="optimized-c"
  cargo:rustc-cfg=__aarch64_ldadd4_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_ldadd4_acq_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_ldadd8_relax="optimized-c"
  cargo:rustc-cfg=__aarch64_ldadd8_acq="optimized-c"
  cargo:rustc-cfg=__aarch64_ldadd8_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_ldadd8_acq_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_ldclr1_relax="optimized-c"
  cargo:rustc-cfg=__aarch64_ldclr1_acq="optimized-c"
  cargo:rustc-cfg=__aarch64_ldclr1_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_ldclr1_acq_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_ldclr2_relax="optimized-c"
  cargo:rustc-cfg=__aarch64_ldclr2_acq="optimized-c"
  cargo:rustc-cfg=__aarch64_ldclr2_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_ldclr2_acq_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_ldclr4_relax="optimized-c"
  cargo:rustc-cfg=__aarch64_ldclr4_acq="optimized-c"
  cargo:rustc-cfg=__aarch64_ldclr4_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_ldclr4_acq_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_ldclr8_relax="optimized-c"
  cargo:rustc-cfg=__aarch64_ldclr8_acq="optimized-c"
  cargo:rustc-cfg=__aarch64_ldclr8_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_ldclr8_acq_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_ldeor1_relax="optimized-c"
  cargo:rustc-cfg=__aarch64_ldeor1_acq="optimized-c"
  cargo:rustc-cfg=__aarch64_ldeor1_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_ldeor1_acq_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_ldeor2_relax="optimized-c"
  cargo:rustc-cfg=__aarch64_ldeor2_acq="optimized-c"
  cargo:rustc-cfg=__aarch64_ldeor2_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_ldeor2_acq_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_ldeor4_relax="optimized-c"
  cargo:rustc-cfg=__aarch64_ldeor4_acq="optimized-c"
  cargo:rustc-cfg=__aarch64_ldeor4_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_ldeor4_acq_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_ldeor8_relax="optimized-c"
  cargo:rustc-cfg=__aarch64_ldeor8_acq="optimized-c"
  cargo:rustc-cfg=__aarch64_ldeor8_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_ldeor8_acq_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_ldset1_relax="optimized-c"
  cargo:rustc-cfg=__aarch64_ldset1_acq="optimized-c"
  cargo:rustc-cfg=__aarch64_ldset1_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_ldset1_acq_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_ldset2_relax="optimized-c"
  cargo:rustc-cfg=__aarch64_ldset2_acq="optimized-c"
  cargo:rustc-cfg=__aarch64_ldset2_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_ldset2_acq_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_ldset4_relax="optimized-c"
  cargo:rustc-cfg=__aarch64_ldset4_acq="optimized-c"
  cargo:rustc-cfg=__aarch64_ldset4_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_ldset4_acq_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_ldset8_relax="optimized-c"
  cargo:rustc-cfg=__aarch64_ldset8_acq="optimized-c"
  cargo:rustc-cfg=__aarch64_ldset8_rel="optimized-c"
  cargo:rustc-cfg=__aarch64_ldset8_acq_rel="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/cpu_model/aarch64.c
  cargo:rustc-cfg=__aarch64_have_lse_atomics="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/absvdi2.c
  cargo:rustc-cfg=__absvdi2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/absvsi2.c
  cargo:rustc-cfg=__absvsi2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/absvti2.c
  cargo:rustc-cfg=__absvti2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/addvdi3.c
  cargo:rustc-cfg=__addvdi3="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/addvsi3.c
  cargo:rustc-cfg=__addvsi3="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/addvti3.c
  cargo:rustc-cfg=__addvti3="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/cmpdi2.c
  cargo:rustc-cfg=__cmpdi2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/cmpti2.c
  cargo:rustc-cfg=__cmpti2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/fp_mode.c
  cargo:rustc-cfg=__fe_getround="optimized-c"
  cargo:rustc-cfg=__fe_raise_inexact="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/ffsti2.c
  cargo:rustc-cfg=__ffsti2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/int_util.c
  cargo:rustc-cfg=__int_util="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/mulvdi3.c
  cargo:rustc-cfg=__mulvdi3="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/mulvsi3.c
  cargo:rustc-cfg=__mulvsi3="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/mulvti3.c
  cargo:rustc-cfg=__mulvti3="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/negdf2.c
  cargo:rustc-cfg=__negdf2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/negdi2.c
  cargo:rustc-cfg=__negdi2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/negsf2.c
  cargo:rustc-cfg=__negsf2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/negti2.c
  cargo:rustc-cfg=__negti2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/negvdi2.c
  cargo:rustc-cfg=__negvdi2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/negvsi2.c
  cargo:rustc-cfg=__negvsi2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/negvti2.c
  cargo:rustc-cfg=__negvti2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/paritydi2.c
  cargo:rustc-cfg=__paritydi2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/paritysi2.c
  cargo:rustc-cfg=__paritysi2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/parityti2.c
  cargo:rustc-cfg=__parityti2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/popcountdi2.c
  cargo:rustc-cfg=__popcountdi2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/popcountsi2.c
  cargo:rustc-cfg=__popcountsi2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/popcountti2.c
  cargo:rustc-cfg=__popcountti2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/subvdi3.c
  cargo:rustc-cfg=__subvdi3="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/subvsi3.c
  cargo:rustc-cfg=__subvsi3="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/subvti3.c
  cargo:rustc-cfg=__subvti3="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/ucmpdi2.c
  cargo:rustc-cfg=__ucmpdi2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/ucmpti2.c
  cargo:rustc-cfg=__ucmpti2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/atomic_flag_clear.c
  cargo:rustc-cfg=atomic_flag_clear="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/atomic_flag_clear_explicit.c
  cargo:rustc-cfg=atomic_flag_clear_explicit="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/atomic_flag_test_and_set.c
  cargo:rustc-cfg=atomic_flag_test_and_set="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/atomic_flag_test_and_set_explicit.c
  cargo:rustc-cfg=atomic_flag_test_and_set_explicit="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/atomic_signal_fence.c
  cargo:rustc-cfg=atomic_signal_fence="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/atomic_thread_fence.c
  cargo:rustc-cfg=atomic_thread_fence="optimized-c"
  cargo:rerun-if-env-changed=CC_FORCE_DISABLE
  CC_FORCE_DISABLE = None
  cargo:rerun-if-env-changed=CC_aarch64-apple-darwin
  CC_aarch64-apple-darwin = None
  cargo:rerun-if-env-changed=CC_aarch64_apple_darwin
  CC_aarch64_apple_darwin = None
  cargo:rerun-if-env-changed=TARGET_CC
  TARGET_CC = None
---
  cargo:rerun-if-env-changed=CFLAGS_aarch64_apple_darwin
  CFLAGS_aarch64_apple_darwin = None
  cargo:rerun-if-env-changed=CFLAGS_aarch64-apple-darwin
  CFLAGS_aarch64-apple-darwin = None
  cargo:warning=cc: error: unrecognized command-line option '-arch'
  cargo:warning=cc: error: unrecognized command-line option '-mmacosx-version-min=11.0'

  --- stderr


  error occurred in cc-rs: command did not execute successfully (status code exit status: 1): LC_ALL="C" "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-mmacosx-version-min=11.0" "-I" "/checkout/src/llvm-project/compiler-rt/lib/builtins" "-w" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-DCOMPILER_RT_HAS_FLOAT16" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/aarch64-apple-darwin/dist/build/compiler_builtins/ab0ec8d5c8fdfed2/out/1404f617b70290ea-lse_cas1_relax.o" "-c" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/aarch64-apple-darwin/dist/build/compiler_builtins/ab0ec8d5c8fdfed2/out/lse_cas1_relax.S"


warning: build failed, waiting for other jobs to finish...
[RUSTC-TIMING] core test:false 26.056
Bootstrap failed while executing `check std-important-targets`

@Kobzol

Kobzol commented Sep 18, 2026

Copy link
Copy Markdown
Member Author

Looks like checking aarch64-apple-darwin on Linux x64 fails when compiling compiler_builtins:

cargo:warning=cc: error: unrecognized command-line option '-arch'
cargo:warning=cc: error: unrecognized command-line option '-mmacosx-version-min=11.0'

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job test-x86_64-gnu-gcc failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)

Important

For more information how to resolve CI failures of this job, visit this link.

@RalfJung

RalfJung commented Oct 3, 2026

Copy link
Copy Markdown
Member

Add it as an optional job, so that libs reviewers/PR authors can check stdlibs when they make changes where they expect that something may break.

I don't think we should do optional jobs. They will bitrot pretty much immediately so when you use it and it fails you never know if it was your PR or not that broke it.

@Kobzol

Kobzol commented Oct 4, 2026

Copy link
Copy Markdown
Member Author

Yeah, agreed. It should just be a normal job.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-CI Area: Our Github Actions CI A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants