Skip to content

Set CARGO_TARGET_DIR explicitly - #53

Draft
m4tx wants to merge 1 commit into
mainfrom
cargo-target-dir
Draft

m4tx wants to merge 1 commit into
mainfrom
cargo-target-dir

Conversation

@m4tx

@m4tx m4tx commented Sep 25, 2026

Copy link
Copy Markdown
Collaborator

When the default target dir is overriden in ~/.cargo/config.toml (typically done to keep all the builds in a single directory and avoid duplicated libraries in the filesystem), the build currently fails. This modifies the Makefile and sets the CARGO_TARGET_DIR explicitly to avoid this issue.

When the default target dir is overriden in ~/.cargo/config.toml
(typically done to keep all the builds in a single directory and avoid
duplicated libraries in the filesystem), the build currently fails. This
modifies the Makefile and sets the `CARGO_TARGET_DIR` explicitly to
avoid this issue.
@m4tx
m4tx marked this pull request as draft September 25, 2026 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant