-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Add prefix to config.toml #38388
Add prefix to config.toml #38388
Conversation
r? @aturon (rust_highfive has picked a reviewer for you, use r? to override) |
Thanks! This may actually be a good time to start a new section of |
@alexcrichton Sounds good. |
@@ -70,6 +70,9 @@ | |||
# specified, use this rustc binary instead as the stage0 snapshot compiler. | |||
#rustc = "/path/to/bin/rustc" | |||
|
|||
# Instead of installing installing to /usr/local, install to this path instead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"installing installing"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I fixed it
5660f6c
to
58b94bd
Compare
@alexcrichton I have made the change, adding an |
Looks good to me! It appears tidy has a problem though? |
I will fix the tidy issue - thanks |
@bors: r+ |
📌 Commit 228e495 has been approved by |
Thanks @alexcrichton ! |
…crichton Add prefix to config.toml This allows `rustbuild` to be used to install to a prefix. ```toml [build] prefix = "/path/to/install" ``` For example, the following `config.toml` will cause `x.py dist --install` to install to `/path/to/install`
Rollup of 29 pull requests - Successful merges: #37761, #38006, #38131, #38150, #38158, #38171, #38208, #38215, #38236, #38245, #38289, #38302, #38315, #38346, #38388, #38395, #38398, #38418, #38432, #38451, #38463, #38468, #38470, #38471, #38472, #38478, #38486, #38493, #38498 - Failed merges: #38271, #38483
This allows
rustbuild
to be used to install to a prefix.For example, the following
config.toml
will causex.py dist --install
to install to/path/to/install