volks73 / cargo-wix

A cargo subcommand to build Windows installers for rust projects using the WiX Toolset
https://volks73.github.io/cargo-wix
Apache License 2.0
316 stars 26 forks source link

switch target_triple always tigger whole rebuilding #151

Open cstkingkey opened 2 years ago

cstkingkey commented 2 years ago

when switching target triple, a complete rebuilding is triggered.(all dependencies is rebuiled) finish x86_64 with right msi generated, do x86 task. Then without any modification to rs source, starting x86_64 task will rebuild the whole tree.

volks73 commented 2 years ago

This sounds like you are hitting #135 and ultimately related to https://github.com/rust-lang/cargo/issues/9357. See my comment. Note, there is not really a solution for this yet. Are you able to (eventually) use the nightly toolchain?