cargo xbuild pollutes source tree #6
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/artiq-zynq#6
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
cargo xbuild
does not completely take into account the--target-dir
option and still uses the./target
folder for certain things.This
target
folder can cause the Nix build to fail (not finding the correct core crate).Setting an additional env
XBUILD_SYSROOT_PATH=$(pwd)/../build/sysroot
works around that. Seems to need an absolute path here.Okay, I'll update the Makefile