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
I'm calling cross from cmake to build a Rust component, and I wanted to relocate the target directory under cmake's build root. Unfortunately, this does not work, because cross seems to assume that target must always be located next to Cargo.toml.
Relocating target via .cargo/config containing target-dir = "build/target" doesn't work either.
The text was updated successfully, but these errors were encountered:
vadimcn
changed the title
cross --target-dir=<path> doesn't work
cross build --target-dir=<path> ... doesn't work
May 23, 2019
This should have been patched as of #713, to ensure --target-dir works if passed into the container, or use the initial arguments if we fallback to the host. Let me know if the issue still remains.
I'm calling cross from cmake to build a Rust component, and I wanted to relocate the
target
directory under cmake's build root. Unfortunately, this does not work, because cross seems to assume thattarget
must always be located next toCargo.toml
.Relocating
target
via .cargo/config containingtarget-dir = "build/target"
doesn't work either.The text was updated successfully, but these errors were encountered: