Skip to content
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

ci: reintroduce x86-64 test for non-SSE environment #146

Merged
merged 3 commits into from
Mar 27, 2024

Conversation

mkroening
Copy link
Contributor

The old CI test was removed (#77 (comment)) due to rust-lang/rust#116672 causing a mismatch of data layouts with the custom target (src/tests/x86_64-soft_float.json):

error: data-layout for target `x86_64-soft_float-10047705440633310713`, `e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128`, differs from LLVM target's `x86_64-unknown-none` default layout, `e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128`

This PR removes the unused custom target and reintroduces the CI test with the now-available tier 2 target x86_64-unknown-none. This makes this test much more robust, since we don't have to update a custom target ourselves and can even use stable Rust now.

Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de>
Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de>
@mkroening
Copy link
Contributor Author

In a third commit, I have also added a CI test for x86_64-unknown-linux without SSE. Though, I am not sure if that is the right place and whether you would also want a non-alloc test for that.

Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de>
@mkroening
Copy link
Contributor Author

Friendly ping, @BurntSushi :)

Copy link
Owner

@BurntSushi BurntSushi left a comment

Choose a reason for hiding this comment

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

Love it, thank you!

@BurntSushi BurntSushi merged commit b12ad6d into BurntSushi:master Mar 27, 2024
16 checks passed
@mkroening mkroening deleted the non-sse-ci branch March 29, 2024 16:07
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