Open nsarlin-zama opened 4 months ago
Maybe this is related to https://github.com/rust-lang/rust/issues/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.
The toolchain that should be used is nightly-2024-07-25
, right ?
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.