I build workspace binaries on Windows, those binaries are compiled into target/release. I am attempting to include those binaries with my application by specifying a resource map as such:
cargo:rerun-if-changed=..\..\target\release\my-other-bin.exe
Cannot create a file when that file already exists. (os error 183)
It looks like it attempts to copy file where source and destination are the same.
Perhaps we could filter out attempts to copy files when files are already in-place, when source and destination paths match.
Note that this is not a problem on macOS (universal build), because workspace binaries there are built into target/universal-apple-darwin/release and so the copying works fine.
Describe the bug
Hi,
I build workspace binaries on Windows, those binaries are compiled into
target/release
. I am attempting to include those binaries with my application by specifying a resource map as such:However the bundler errors with:
It looks like it attempts to copy file where source and destination are the same.
Perhaps we could filter out attempts to copy files when files are already in-place, when source and destination paths match.
Note that this is not a problem on macOS (universal build), because workspace binaries there are built into
target/universal-apple-darwin/release
and so the copying works fine.Reproduction
No response
Expected behavior
No response
Full
tauri info
outputStack trace
No response
Additional context
No response