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

Always pass in -Zno-codegen #1

Open
atomb opened this issue Oct 24, 2017 · 1 comment
Open

Always pass in -Zno-codegen #1

atomb opened this issue Oct 24, 2017 · 1 comment

Comments

@atomb
Copy link

atomb commented Oct 24, 2017

Currently, if you run cargo mir-json on an unbuilt repository, you'll get a .mir file out, as well as target binaries. If you run it on an already-built repository (even if built with cargo build instead of cargo mir-json) then the JSON translation doesn't happen. If we consistently pass the -Zno-trans flag throughout, we'll avoid the time taken to build native code as well as the problem of re-running the translation.

@RyanGlScott
Copy link
Contributor

Note that -Zno-trans is now called -Zno-codegen after rust-lang/rust#50615.

@RyanGlScott RyanGlScott changed the title Always pass in -Zno-trans Always pass in -Zno-codegen Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants