File tree Expand file tree Collapse file tree 4 files changed +6
-3
lines changed Expand file tree Collapse file tree 4 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 3131 ln gcc-build/libgccjit.so gcc-build/libgccjit.so.0
3232
3333 - name : Set LIBRARY_PATH
34- run : echo "LIBRARY_PATH=$(cat gcc_path)" >> $GITHUB_ENV
34+ run : |
35+ echo "LIBRARY_PATH=$(cat gcc_path)" >> $GITHUB_ENV
36+ echo "LD_LIBRARY_PATH=$(cat gcc_path)" >> $GITHUB_ENV
3537
3638 # https://github.com/actions/cache/issues/133
3739 - name : Fixup owner of ~/.cargo/
6668 run : |
6769 ./prepare_build.sh
6870 ./build.sh
71+ cargo test
6972 ./clean_all.sh
7073
7174 - name : Prepare dependencies
Original file line number Diff line number Diff line change @@ -15,3 +15,4 @@ gimple*
1515* asm
1616res
1717test-backend
18+ gcc_path
Original file line number Diff line number Diff 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`.
You can’t perform that action at this time.
0 commit comments