-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
missing optimized MIR #34
Comments
Maybe this is related to rust-lang/rust#126012 |
So it will be fixed once the compiler version is updated I suppose. Not great though. :-/ |
I think that 1.80 should fix this ? I can do the upgrade to the latest compiler if it can help you and if you haven't started working on it. |
I think so yes. If you're motivated to do it, it's very welcome. :) |
Sadly upgrading the compiler version does not seem to fix it, it might not be related to the linked issue... |
Hum, interesting. Gonna try to take a look when I have some time. |
I don't know exactly what is the exact trigger for this, but I sometimes encounter a "missing optimized MIR" error when using tools built using this crate. This can be reproduced for example by running the example tool on itself, after having commented out the
OddFunctionLineCount
pass:Adding
--emit=metadata
to the compiler flags seems to fix it but I don't know if this is the best solution. One side-effect is that it generates a libmain.rmeta file.The text was updated successfully, but these errors were encountered: