Skip to content

miri-script: also overwrite CARGO_BUILD_BUILD_DIR #4312

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

RalfJung
Copy link
Member

@RalfJung RalfJung commented May 7, 2025

Setting just CARGO_TARGET_DIR is no longer enough to control where the build artifacts will go, there's now also CARGO_BUILD_BUILD_DIR. See RalfJung/rustc-build-sysroot#25, rust-lang/cargo#14125.

@RalfJung RalfJung force-pushed the cargo-build-dir branch from 193c89c to 75712c3 Compare May 7, 2025 07:00
@RalfJung RalfJung force-pushed the cargo-build-dir branch from 75712c3 to 2ed9f4e Compare May 7, 2025 08:03
@RalfJung
Copy link
Member Author

RalfJung commented May 7, 2025

Thinking about it, we probably don't need this -- we care about the location of the final binaries, but build.build-dir doesn't affect that, it affects temporary artifacts only (IIUC).

@RalfJung RalfJung closed this May 7, 2025
@RalfJung RalfJung deleted the cargo-build-dir branch May 7, 2025 08:05
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