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
In Windows, when trying to pass a compiled resource script to the linker (I have MSVC build tools properly installed), I'm using the following line in my build.rs:
println!("cargo:rustc-link-lib=dylib=stuff.res");
The problem is that stuff.res is being renamed to stuff.res.lib, and since this file does not exist, the build fails. If I manually rename my file to stuff.res.lib, then it works.
Is it possible to handle this situation, maybe by identifying the provided extension and letting .res to pass?