We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c44a903 commit 82f73efCopy full SHA for 82f73ef
.github/workflows/ci.yaml
@@ -114,6 +114,11 @@ jobs:
114
115
git clone --depth 1 https://github.com/rust-lang/rustc_codegen_gcc
116
117
+ # Since we use rustc_codegen_gcc from the master branch of the repo, but don't use y.sh in make to build using rustc_codegen_gcc,
118
+ # we need to override the rust version.
119
+ rust_version=$(grep channel rustc_codegen_gcc/rust-toolchain | cut -f3 -d' ' | sed 's/"//g')
120
+ rustup override set $rust_version
121
+
122
echo "MAKE_KRUSTFLAGS=KRUSTFLAGS=-Zcodegen-backend=$(pwd)/rustc_codegen_gcc/target/release/librustc_codegen_gcc.so" >> $GITHUB_ENV
123
124
0 commit comments