You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to build rav1e using recommended rust flags RUSTFLAGS="-C target-cpu=x86-64-v3" cargo build --release, and the thinLTO issue rust-lang/rust#98302 was circumvented by specifying fat LTO in Cargo.toml. Build failed with the following console output:
I double checked that the last time I built the same program (rav1e) in 19 July was successful. After the initial attempt I also tried to build the exact same version (and even an older one) of rav1e as the last successful build in July and it was also a failure, with the same console output. Both clang and rust were updated in the past months so I don't know whose fault that is.
Unfortunately it's upstream issue that we cannot workaround in any way retep998/winapi-rs#935
You can workaround it locally though by defining WINAPI_NO_BUNDLED_LIBRARIES=1.
Description
Trying to build rav1e using recommended rust flags
RUSTFLAGS="-C target-cpu=x86-64-v3" cargo build --release
, and the thinLTO issue rust-lang/rust#98302 was circumvented by specifying fat LTO in Cargo.toml. Build failed with the following console output:The file in fault mentioned in the output
libwinapi_runtimeobject.a
is a text file that has the following content:I double checked that the last time I built the same program (rav1e) in 19 July was successful. After the initial attempt I also tried to build the exact same version (and even an older one) of rav1e as the last successful build in July and it was also a failure, with the same console output. Both clang and rust were updated in the past months so I don't know whose fault that is.
Verification
Windows Version
Microsoft Windows [Version 10.0.22621.674]
MINGW environments affected
Expected behavior
Successful build.
Actual behavior
Build failed claiming an static lib (.a) file has unknown file type.
Repro steps
RUSTFLAGS="-C target-cpu=x86-64-v3" cargo build --release
Are you willing to submit a PR?
No response
The text was updated successfully, but these errors were encountered: