Skip to content

Commit 8b23094

Browse files
committed
Fix some outdated references to y.rs
1 parent 87374d8 commit 8b23094

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ jobs:
127127
- uses: actions/checkout@v3
128128

129129
- name: Prepare dependencies
130-
run: ./y.rs prepare
130+
run: ./y.sh prepare
131131

132132
- name: Disable JIT tests
133133
run: |
@@ -136,7 +136,7 @@ jobs:
136136
- name: Test
137137
env:
138138
TARGET_TRIPLE: x86_64-unknown-linux-gnu
139-
run: ./y.rs test --use-backend llvm
139+
run: ./y.sh test --use-backend llvm
140140

141141
bench:
142142
runs-on: ubuntu-latest

Readme.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@ to `./build/host/stage2/bin/`. Note that you would need to do this every time yo
6565
5. Copy cargo from another toolchain: `cp $(rustup which cargo) .build/<your hostname triple>/stage2/bin/cargo`
6666
* Another option is to build it at step 3 and copy with other executables at step 4.
6767
6. Link your new `rustc` to toolchain: `rustup toolchain link stage2 ./build/host/stage2/`.
68-
7. (Windows only) compile y.rs: `rustc +stage2 -O y.rs`.
69-
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.
68+
7. (Windows only) compile the build system: `rustc +stage2 -O build_system/main.rs -o y.exe`.
69+
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.
7070

71-
* `rustup run stage2 ./y.rs prepare`
72-
* `rustup run stage2 ./y.rs build`
73-
* (Optional) run tests: `rustup run stage2 ./y.rs test`
71+
* `rustup run stage2 ./y.sh prepare`
72+
* `rustup run stage2 ./y.sh build`
73+
* (Optional) run tests: `rustup run stage2 ./y.sh test`
7474
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`.
7575

7676
## Configuration

0 commit comments

Comments
 (0)