-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
build: vendor = true
seems to not work anymore
#100364
Comments
Which directory are you invoking cc @jyn514 |
|
ok, I confirm that invoking from inside the source directory solves the problem. now I need to use it might be something to mention in changelog file. I think it is common in downstream dsitribution to use a different build and source directories. thanks for the help @bjorn3 |
I think we should support building outside the source directory again. |
That PR only changes the rust code of rustbuild, not the python code. This issue is while compiling rustbuild. The problem is that .cargo/config.toml is not in the current working directory when compiling rustbuild and as such ignored. |
I confirm that the latest nightly doesn't build outside the directory. also, please note that currently the problem is in both beta and nightly channels. |
Ah, I see. That seems possible to fix, we can run the command from the source root. The working directory of the build itself shouldn't affect any of the runtime configuration. |
When downloading a tarball (
rustc-beta-src.tar.gz
from https://static.rust-lang.org/dist/) and building it withconfig.toml
file withvendor = true
, the build fails early with:I have this behaviour in beta since 2022-08-09, and with nightly since 2022-06-25.
My config.toml file is:
rustc and cargo binaries are 1.62.1-stable. The build is done on OpenBSD (but as it is failing at first cargo invocation, I think it is OS agnostic).
The text was updated successfully, but these errors were encountered: