Skip to content

Integrate stdarch tests for aarch64#1667

Open
CathalMullan wants to merge 1 commit into
rust-lang:mainfrom
CathalMullan:stdarch
Open

Integrate stdarch tests for aarch64#1667
CathalMullan wants to merge 1 commit into
rust-lang:mainfrom
CathalMullan:stdarch

Conversation

@CathalMullan

Copy link
Copy Markdown
Contributor

Had a go at wiring up stdarch. Runs the core_arch and intrinsic-test test suites.

Looked into x86 as well. It had more hard errors to resolve up front, so opted to stick with aarch64 for now.

The skip mechanism for these may be a little cumbersome to maintain.
Maybe making the tests opt-in rather than opt-out would be the better approach?

Comment thread build_system/tests.rs
"stdarch",
);

static STDARCH: CargoProject = CargoProject::new(STDARCH_REPO.source_dir(), "stdarch_target");

@bjorn3 bjorn3 Jun 14, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be possible to use the version from the standard library sources just like for portable-simd.

View changes since the review

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the stdarch intrinsic-test crate gets stripped from the source before bundling: https://github.com/rust-lang/rust/blob/main/src/bootstrap/src/core/build_steps/dist.rs#L1204-L1208

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants