-
Notifications
You must be signed in to change notification settings - Fork 6
build_from_source
makes assumptions on internal Cargo details, breaking cargo-miri
with new build-dir
features
#25
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
Comments
Thanks for bringing this up! We need some way to identify where the build results (including all the rlibs for the dependencies) have been put so that we can copy them to the sysroot. Is there a "less cursed" way of doing that? We don't have to support arbitrary user's choice; we set up our own little workspace for the build anyway so we can configure that to place the build results in a particular location. Would it be enough to just set |
Providing your own This is also prep work for reorganizing the content within the build directory (rust-lang/cargo#15010).
Unsure how officially this is supported but if you specify all packages, including dependencies, with |
We can't hard-code the dependencies of rustc bootstrap ( |
We have already set |
Original report at rust-lang/cargo#14125 (comment)
The problem is
rustc-build-sysroot/src/lib.rs
Lines 513 to 516 in 93fd0c1
According to the Cargo docs
With rust-lang/cargo#14125 (docs), users will be allowed to move
deps
and many other directories out oftarget-dir
into their `build-dir of choice.Our expectation is that we will eventually change the default location of
build-dir
fromtarget-dir
to{cargo-cache-home}/build/{workspace-path-hash}
.The text was updated successfully, but these errors were encountered: