File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -128,12 +128,21 @@ jobs:
128128
129129 echo "MAKE_KRUSTFLAGS=KRUSTFLAGS=-Zcodegen-backend=$(pwd)/rustc_codegen_gcc/target/release/librustc_codegen_gcc.so" >> $GITHUB_ENV
130130
131+ echo $rust_version
132+ # Since the Makefile uses the sysroot provided by rustup, we need to
133+ # manually copy libgccjit.so in this sysroot directory.
134+ ln -s /usr/lib/libgccjit.so ~/.rustup/toolchains/$rust_version-x86_64-unknown-linux-gnu/lib/
135+ ls ~/.rustup/toolchains/$rust_version-x86_64-unknown-linux-gnu/lib/
136+
131137 cd rustc_codegen_gcc
132138 echo 'gcc-path = "/usr/lib"' > config.toml
133139 #sed -i '/channel/d' rust-toolchain
134140 export RUSTC_BOOTSTRAP=1
135141 ./y.sh prepare --only-libcore
136142 ./y.sh build --sysroot --release
143+ ls /home/runner/.rustup/toolchains/nightly-2025-11-24-x86_64-unknown-linux-gnu/lib/
144+ echo **********
145+ ls -R ..
137146
138147 # Setup: `bindgen`.
139148 - run : cargo install --locked --version 0.70.1 bindgen-cli
You can’t perform that action at this time.
0 commit comments