Open matthiaskrgr opened 2 years ago
I believe this is because the compiler rlib libraries do not include bitcode in them. The compile-test.rs
test depends on them, so it is not possible to build that test with LTO.
It would be nice if the error message included which file was missing the information (which would be easy to add here).
Hello, I have the same problem. How should we fix it?
Same problem here when using lto. EDIT: Seems like it was a dependency problem, removing a few dependencies (Not sure which ones but I can search git history) solved it.
I have the same problem when running cargo test --release
, and it seems only fails in my linux builder only, works in my Mac
fails to build without any interesting details unfortunately
with
nightly-2022-02-10
Seems to happen while compiling tests:
Building [=======================> ] 140/141: compile-test(test)