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

Enable building with a Cranelift-based rustc #2555

Open
petr-tik opened this issue Mar 17, 2024 · 0 comments
Open

Enable building with a Cranelift-based rustc #2555

petr-tik opened this issue Mar 17, 2024 · 0 comments

Comments

@petr-tik
Copy link

Thanks a lot for creating and maintaining such a great set of build rules for Rust.

I would like to be able to use the cranelift-based rustc for dev builds.

From what I understand, it is possible to download the source with http_archive and build it using these instructions.
https://github.com/rust-lang/rustc_codegen_cranelift/tree/master?tab=readme-ov-file#building-and-testing

Sadly, I don't know if there are any differences between cmdline arguments or environment variables expected by the cranelift-based backend.

It would be awesome if cranelift were an opt-in feature behind --compilation_mode dbg

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

1 participant