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

Build fails on Mac because .cargo/config.toml has CPU architecture set to haswell #2872

Closed
nastynaz opened this issue May 21, 2024 · 2 comments

Comments

@nastynaz
Copy link

Problem: running the examples or otherwise trying to build this repo fails on my machine (Mac M1, Apple Silicon).

The error message is:

'haswell' is not a recognized processor for this target (ignoring processor)

The issue seems to be because of this line:

rustflags = ["-C", "target-cpu=haswell"]

Once I changed it to "target-cpu=native" it worked.

@GnomedDev
Copy link
Member

We can remove this file entirely now, as we don't use simd-json anymore.

@GnomedDev
Copy link
Member

This is fixed on the next branch, which will be released as serenity 0.13.

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

No branches or pull requests

2 participants