-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
add a -Z flag to guarantee that MIR is generated for all functions #38217
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
Conversation
|
Could this be |
c21f62a to
87a9ae2
Compare
|
done |
|
@bors r+ |
|
📌 Commit 87a9ae2 has been approved by |
|
@bors r- |
… decision site before it was assumed that anything that had a MIR was fair game for local instatiation
|
This now produces a working compiler (stage2 is building right now) without the flag enabled. It also allows me to compile miri and all its dependencies with the flag enabled (not that there's any point, but I didn't want to wait for an entire compiler to build with the flag enabled). So this is basically working now. I know it has no tests yet. I promise I will write them on monday. Would it be possible to r+ this PR without the tests? |
|
I successfully built stage2 with the newest code in this PR and the flag hardcoded to true. |
|
📌 Commit d74d153 has been approved by |
r? @eddyb
cc @solson