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
{{ message }}
Repository navigation
Workspace binary artifacts are added to target/debug/deps on Windows which breaks build script #69318
I am building a workspace. One crate in the workspace produces a ruby binary. Another crate has a build script that does a std::process::Command subprocess with the ruby binary (expected to be system Ruby). target/debug/deps is prepended to the PATH for build scripts on Windows.
I expected to see this happen: On mac and linux, binaries produced by the workspace end up only in target/debug. target/debug/deps only contains rlib, meta, and debug symbols for dependent crates. I expect the subshell invoked in the build script to not see workspace artifacts on Windows as is the case on mac and linux.
Instead, this happened: On Windows, the workspace built binaries end up in target/debug/deps in addition to target/debug. This resolves the workspace ruby first, which breaks the build script. This means that building more than once fails.
Activity
Remove ruby binary artifact from artichoke-frontend
retep998 commentedon Feb 21, 2020
I believe this issue may be better suited for the cargo repository.
lopopolo commentedon Feb 22, 2020
Refiled at rust-lang/cargo#7919.