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

Is it possible to develop on new Apple Silicon CPUs? #1543

Closed
frederikhors opened this issue Nov 12, 2024 · 1 comment
Closed

Is it possible to develop on new Apple Silicon CPUs? #1543

frederikhors opened this issue Nov 12, 2024 · 1 comment

Comments

@frederikhors
Copy link

Since I'm planning to buy a new Macbook Pro M4 and since this project is the coolest thing in the Rust world, I would like to understand if I can use cranelift for the development build (debug) as I do on Linux and Windows today.

I already thought so, but I got the doubt from here: https://www.reddit.com/r/rust/comments/1gnxqu1/comment/lwjn0ze/.

Thanks for all you do!

@bjorn3
Copy link
Member

bjorn3 commented Nov 12, 2024

It should work. In the past there were a bunch of (now fixed) issues that made it unusable, so I can understand the confusion. For the time being I would recommend you to use the precompiled version from https://github.com/rust-lang/rustc_codegen_cranelift/releases/tag/dev or build it from source yourself though. There is still a couple of ABI issues that show up when mixing LLVM and Cranelift compiled libraries as would happen with the rustup version (the standard library there is always LLVM compiled) The tracking issue for these ABI issues is #1525.

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