File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,11 @@ jobs:
133133
134134 # Since the Makefile uses the sysroot provided by rustup, we need to
135135 # manually copy libgccjit.so in this sysroot directory.
136- ln -s /usr/lib/libgccjit.so ~/.rustup/toolchains/$rust_version-x86_64-unknown-linux-gnu/lib/
136+ dir1=~/.rustup/toolchains/$rust_version-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends/lib/x86_64-linux-gnu/
137+ dir2=~/.rustup/toolchains/$rust_version-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends/lib/x86_64-unknown-linux-gnu/
138+ mkdir -p $dir1 $dir2
139+ ln -s /usr/lib/libgccjit.so $dir1/libgccjit.so
140+ ln -s /usr/lib/libgccjit.so $dir2/libgccjit.so
137141
138142 cd rustc_codegen_gcc
139143 echo 'gcc-path = "/usr/lib"' > config.toml
You can’t perform that action at this time.
0 commit comments