Skip to content

feat(config): point CARGO_HOME to /var/cache/melange/cargo#2349

Merged
89luca89 merged 1 commit intochainguard-dev:mainfrom
toabctl:rust-cache
Feb 18, 2026
Merged

feat(config): point CARGO_HOME to /var/cache/melange/cargo#2349
89luca89 merged 1 commit intochainguard-dev:mainfrom
toabctl:rust-cache

Conversation

@toabctl
Copy link
Member

@toabctl toabctl commented Feb 16, 2026

Similar to what's done for the GOMODCACHE env variable, set CARGO_HOME so whenever cargo is used, the default
melange cache dir is used and the cache can be used for iterating over a package that uses cargo to speed-up builds.

@toabctl toabctl requested a review from 89luca89 February 16, 2026 11:19
Similar to what's done for the GOMODCACHE env variable, set
CARGO_HOME so whenever npm is used, the default
melange cache dir is used and the cache can be used for iterating over
a package that uses cargo to speed-up builds.
@89luca89
Copy link
Contributor

Failures are due to a problem in microvm-init, fixed in https://github.com/chainguard-dev/stereo/pull/29113
we can re-run the tests after the update propagated

@89luca89 89luca89 enabled auto-merge (squash) February 17, 2026 17:23
@89luca89 89luca89 merged commit 6a8ba44 into chainguard-dev:main Feb 18, 2026
107 of 150 checks passed
@toabctl toabctl deleted the rust-cache branch February 18, 2026 14:44
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.

2 participants

Comments