Skip to content

Commit 8a7b5a6

Browse files
camelidJoshua Nelson
and
Joshua Nelson
authored
Fix x.py commands
This should make them faster, at least according to @jyn514. Co-authored-by: Joshua Nelson <[email protected]>
1 parent 8c84e65 commit 8a7b5a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,9 @@ cp config.toml.example config.toml
149149

150150
# Build a stage 2 rustc.
151151
# This step can take 30 minutes or more.
152-
./x.py build compiler/rustc --stage 2
152+
./x.py build --stage 2 library/std
153153
# If you change something, you can get a faster rebuild by doing
154-
./x.py --keep-stage 0 build compiler/rustc --stage 2
154+
./x.py build --keep-stage 0 --stage 2 library/std
155155
# You may have to change the architecture in the next command
156156
rustup toolchain link custom build/x86_64-unknown-linux-gnu/stage2
157157
# Now cd to your Miri directory, then configure rustup

0 commit comments

Comments
 (0)