Skip to content

Commit 543bae4

Browse files
committed
Update custom rustc instructions
1 parent 6f50986 commit 543bae4

File tree

4 files changed

+3
-2
lines changed

4 files changed

+3
-2
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ jobs:
6666
run: |
6767
./prepare_build.sh
6868
./build.sh
69+
cargo test
6970
./clean_all.sh
7071
7172
- name: Prepare dependencies

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ gimple*
1515
*asm
1616
res
1717
test-backend
18+
gcc_path

Readme.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,5 @@ p loc->m_line
113113
114114
### How to use a custom-build rustc
115115
116-
* Build the stage1 compiler (`rustup toolchain link debug-current stage2 build/x86_64-unknown-linux-gnu/stage1`).
116+
* Build the stage2 compiler (`rustup toolchain link debug-current build/x86_64-unknown-linux-gnu/stage2`).
117117
* Clean and rebuild the codegen with `debug-current` in the file `rust-toolchain`.
118-
* Add `~/.rustup/toolchains/debug-current/lib/rustlib/x86_64-unknown-linux-gnu/lib` to `LD_LIBRARY_PATH`.

gcc_path

Whitespace-only changes.

0 commit comments

Comments
 (0)