Skip to content

Fix intrinsic-test for debug test suites #1771

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adamgemmell
Copy link
Contributor

The intrinsic-test tool itself was being built in dev/release profiles but the test programs it generates were all being tested in release mode. This PR pipes the GitHub Actions profile into the tool through a command line argument.

@rustbot
Copy link
Collaborator

rustbot commented Apr 11, 2025

r? @Amanieu

rustbot has assigned @Amanieu.
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

@Amanieu
Copy link
Member

Amanieu commented Apr 11, 2025

This seems to have revealed compiler crashes.

@@ -30,6 +30,7 @@ run() {
--env NORUN \
--env RUSTFLAGS \
--env STDARCH_TEST_NORUN \
--env PROFILE \
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Without this line the debug CI wasn't actually doing anything different to the release CI and it turns out quite a few platforms are broken in debug mode. Will keep digging.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There's some handwritten arm intrinsics that have not been fixed by #1503, e.g.

int64x1_t::splat(N as i64),

The wasm failure is due a hardcoded path to target/release. Not sure about freebsd, haven't looked into it yet.

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.

3 participants