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-trans #1

Open
atomb opened this issue Oct 24, 2017 · 0 comments
Open

Always pass in -Zno-trans #1

atomb opened this issue Oct 24, 2017 · 0 comments

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.

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