Closed frederikhors closed 3 months ago
Looks like the cc crate has started using raw-dylib on Windows: https://github.com/rust-lang/cc-rs/pull/1137 cg_clif doesn't know how to build import libraries yet, and as such raw-dylib doesn't work.
Oh crap. And now?
https://github.com/rust-lang/ar_archive_writer/pull/15 is a port of LLVM's import library writer to rust allowing it to be used by cg_clif. It was opened a while ago, but I didn't get around to reviewing it until a week ago. It is currently waiting on the author of the PR.
I've pushed a commit to get a regular fatal error rather than a panic when using raw-dylib.
Ok. In the meantime they maybe are reverting that change... https://github.com/rust-lang/cc-rs/issues/1156#issuecomment-2226916579
raw-dylib has been implemented in https://github.com/rust-lang/rustc_codegen_cranelift/pull/1524.
cargo-clif.exe run -p app
is crashing with:src\archive.rs
is not my file.How to know what crate is causing this?
I'm on the latest rust, clif and windows dependencies as of today.