You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of rust-lang#44194 - QuietMisdreavus:hey-how-do-i-use-this-new-fangled-thing, r=aturon
expand on using rustup custom toolchains in CONTRIBUTING.md
fixesrust-lang#42484
Should i include more notes about how to use a local build *without* rustup? It can kinda feel like a cop-out otherwise. Other means that come to mind are setting `$RUSTC` directly and fully installing it.
cc @rust-lang/docs
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+28-1
Original file line number
Diff line number
Diff line change
@@ -232,7 +232,34 @@ Some common invocations of `x.py` are:
232
232
guidelines as of yet, but basic rules like 4 spaces for indentation and no
233
233
more than 99 characters in a single line should be kept in mind when writing
234
234
code.
235
-
-`rustup toolchain link <name> build/<host-triple>/<stage>` - Use the custom compiler build via [rustup](https://github.com/rust-lang-nursery/rustup.rs#working-with-custom-toolchains-and-local-builds).
235
+
236
+
### Using your local build
237
+
238
+
If you use Rustup to manage your rust install, it has a feature called ["custom
239
+
toolchains"][toolchain-link] that you can use to access your newly-built compiler
240
+
without having to install it to your system or user PATH. If you've run `python
241
+
x.py build`, then you can add your custom rustc to a new toolchain like this:
0 commit comments