Created
January 11, 2023 17:07
-
-
Save jyn514/f2f3199c99667b9bbaccfc34e567a8eb to your computer and use it in GitHub Desktop.
first time setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS C:\Users\Joshua Nelson\src\rust2> git worktree add ../rust5 | |
Preparing worktree (new branch 'rust5') | |
Updating files: 100% (38772/38772), done. | |
HEAD is now at e4330295d9b Give a more helpful error for "trimmed_def_paths construted" | |
PS C:\Users\Joshua Nelson\src\rust2> cd ../rust5 | |
PS C:\Users\Joshua Nelson\src\rust5> ./x.ps1 build --dry-run | |
downloading https://static.rust-lang.org/dist/2022-11-01/rust-std-beta-x86_64-pc-windows-msvc.tar.xz | |
#################################################################################################################### 100.0% | |
extracting C:\Users\Joshua Nelson\src\rust5\build\cache\2022-11-01\rust-std-beta-x86_64-pc-windows-msvc.tar.xz | |
downloading https://static.rust-lang.org/dist/2022-11-01/rustc-beta-x86_64-pc-windows-msvc.tar.xz | |
#################################################################################################################### 100.0% | |
extracting C:\Users\Joshua Nelson\src\rust5\build\cache\2022-11-01\rustc-beta-x86_64-pc-windows-msvc.tar.xz | |
downloading https://static.rust-lang.org/dist/2022-11-01/cargo-beta-x86_64-pc-windows-msvc.tar.xz | |
#################################################################################################################### 100.0% | |
extracting C:\Users\Joshua Nelson\src\rust5\build\cache\2022-11-01\cargo-beta-x86_64-pc-windows-msvc.tar.xz | |
Building rustbuild | |
Finished dev [unoptimized] target(s) in 1m 19s | |
warning: you have not made a `config.toml` | |
help: consider running `./x.py setup` or copying `config.toml.example` by running `cp config.toml.example config.toml` | |
Updating submodule src/tools/rust-installer | |
Cloning into 'C:/Users/Joshua Nelson/src/rust5/src/tools/rust-installer'... | |
... 100 lines of submodule crap ... | |
Submodule path 'library/stdarch/crates/intrinsic-test/acle': checked out '5626f85f469f419db16f20b1614863aeb377c22b' | |
Building stage0 std artifacts (x86_64-pc-windows-msvc -> x86_64-pc-windows-msvc) | |
Copying stage0 std from stage0 (x86_64-pc-windows-msvc -> x86_64-pc-windows-msvc / x86_64-pc-windows-msvc) | |
Building stage0 compiler artifacts (x86_64-pc-windows-msvc -> x86_64-pc-windows-msvc) | |
Copying stage0 rustc from stage0 (x86_64-pc-windows-msvc -> x86_64-pc-windows-msvc / x86_64-pc-windows-msvc) | |
Assembling stage1 compiler (x86_64-pc-windows-msvc) | |
Building stage1 std artifacts (x86_64-pc-windows-msvc -> x86_64-pc-windows-msvc) | |
Copying stage1 std from stage1 (x86_64-pc-windows-msvc -> x86_64-pc-windows-msvc / x86_64-pc-windows-msvc) | |
Building stage1 tool rust-analyzer-proc-macro-srv (x86_64-pc-windows-msvc) | |
Building rustdoc for stage1 (x86_64-pc-windows-msvc) | |
warning: you have not made a `config.toml` | |
help: consider running `./x.py setup` or copying `config.toml.example` by running `cp config.toml.example config.toml` | |
note: this message was printed twice to make it more likely to be seen | |
Build completed successfully in 0:02:24 | |
PS C:\Users\Joshua Nelson\src\rust5> .\x.ps1 setup | |
Building rustbuild | |
Finished dev [unoptimized] target(s) in 2.70s | |
Welcome to the Rust project! What do you want to do with x.py? | |
a) library: Contribute to the standard library | |
b) compiler: Contribute to the compiler itself | |
c) codegen: Contribute to the compiler, and also modify LLVM or codegen | |
d) tools: Contribute to tools which depend on the compiler, but do not modify it directly (e.g. rustdoc, clippy, miri) | |
e) user: Install Rust from source | |
Please choose one (a/b/c/d/e): a | |
`stage1` toolchain already linked; not attempting to link `stage1` toolchain | |
To get started, try one of the following commands: | |
- `x.py check` | |
- `x.py build` | |
- `x.py test library/std` | |
- `x.py doc` | |
For more suggestions, see https://rustc-dev-guide.rust-lang.org/building/suggested.html | |
`x.py` will now use the configuration at C:\Users\Joshua Nelson\src\rust5/src/bootstrap/defaults/config.library.toml | |
Build completed successfully in 0:00:06 | |
PS C:\Users\Joshua Nelson\src\rust5> ./x.ps1 build --dry-run | |
Building rustbuild | |
Finished dev [unoptimized] target(s) in 0.16s | |
Building stage0 std artifacts (x86_64-pc-windows-msvc -> x86_64-pc-windows-msvc) | |
Copying stage0 std from stage0 (x86_64-pc-windows-msvc -> x86_64-pc-windows-msvc / x86_64-pc-windows-msvc) | |
Building stage0 tool rust-analyzer-proc-macro-srv (x86_64-pc-windows-msvc) | |
Build completed successfully in 0:00:03 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment