Fix some outdated references to y.rs
This commit is contained in:
parent
87374d89e0
commit
8b23094ade
2 changed files with 7 additions and 7 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -127,7 +127,7 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Prepare dependencies
|
- name: Prepare dependencies
|
||||||
run: ./y.rs prepare
|
run: ./y.sh prepare
|
||||||
|
|
||||||
- name: Disable JIT tests
|
- name: Disable JIT tests
|
||||||
run: |
|
run: |
|
||||||
|
@ -136,7 +136,7 @@ jobs:
|
||||||
- name: Test
|
- name: Test
|
||||||
env:
|
env:
|
||||||
TARGET_TRIPLE: x86_64-unknown-linux-gnu
|
TARGET_TRIPLE: x86_64-unknown-linux-gnu
|
||||||
run: ./y.rs test --use-backend llvm
|
run: ./y.sh test --use-backend llvm
|
||||||
|
|
||||||
bench:
|
bench:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
10
Readme.md
10
Readme.md
|
@ -65,12 +65,12 @@ to `./build/host/stage2/bin/`. Note that you would need to do this every time yo
|
||||||
5. Copy cargo from another toolchain: `cp $(rustup which cargo) .build/<your hostname triple>/stage2/bin/cargo`
|
5. Copy cargo from another toolchain: `cp $(rustup which cargo) .build/<your hostname triple>/stage2/bin/cargo`
|
||||||
* Another option is to build it at step 3 and copy with other executables at step 4.
|
* Another option is to build it at step 3 and copy with other executables at step 4.
|
||||||
6. Link your new `rustc` to toolchain: `rustup toolchain link stage2 ./build/host/stage2/`.
|
6. Link your new `rustc` to toolchain: `rustup toolchain link stage2 ./build/host/stage2/`.
|
||||||
7. (Windows only) compile y.rs: `rustc +stage2 -O y.rs`.
|
7. (Windows only) compile the build system: `rustc +stage2 -O build_system/main.rs -o y.exe`.
|
||||||
8. You need to prefix every `./y.rs` (or `y` if you built `y.rs`) command by `rustup run stage2` to make cg_clif use your local changes in rustc.
|
8. You need to prefix every `./y.sh` (or `y` if you built `build_system/main.rs` as `y`) command by `rustup run stage2` to make cg_clif use your local changes in rustc.
|
||||||
|
|
||||||
* `rustup run stage2 ./y.rs prepare`
|
* `rustup run stage2 ./y.sh prepare`
|
||||||
* `rustup run stage2 ./y.rs build`
|
* `rustup run stage2 ./y.sh build`
|
||||||
* (Optional) run tests: `rustup run stage2 ./y.rs test`
|
* (Optional) run tests: `rustup run stage2 ./y.sh test`
|
||||||
9. Now you can use your cg_clif build to compile other Rust programs, e.g. you can open any Rust crate and run commands like `$RustCheckoutDir/compiler/rustc_codegen_cranelift/dist/cargo-clif build --release`.
|
9. Now you can use your cg_clif build to compile other Rust programs, e.g. you can open any Rust crate and run commands like `$RustCheckoutDir/compiler/rustc_codegen_cranelift/dist/cargo-clif build --release`.
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue