diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fa9535a3729..0d0266db162 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -96,6 +96,8 @@ jobs: - name: Build run: | + mkdir -p /home/runner/.rustup/toolchains/nightly-2026-04-29-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends/lib/x86_64-unknown-linux-gnu/ + ln -s /usr/lib/libgccjit.so /home/runner/.rustup/toolchains/nightly-2026-04-29-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends/lib/x86_64-unknown-linux-gnu/libgccjit.so ./y.sh build --sysroot ./y.sh test --cargo-tests diff --git a/build_system/src/config.rs b/build_system/src/config.rs index 8eb6d8f019e..881e8eca013 100644 --- a/build_system/src/config.rs +++ b/build_system/src/config.rs @@ -394,8 +394,8 @@ impl ConfigInfo { rustflags.push(format!("-Zcodegen-backend={backend}")); } else { rustflags.extend_from_slice(&[ - "--sysroot".to_string(), - self.sysroot_path.clone(), + /*"--sysroot".to_string(), + self.sysroot_path.clone(),*/ format!("-Zcodegen-backend={}", self.cg_backend_path), ]); }