File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 2727 - defconfig
2828 - defconfig+debug
2929
30+ backend :
31+ - gcc
32+ - llvm
33+
3034 output :
3135 - src
3236 # subdir
@@ -108,7 +112,8 @@ jobs:
108112 echo "$HOME/.cargo/bin" >> $GITHUB_PATH
109113
110114 # Setup: `rustc_codegen_gcc`.
111- - run : |
115+ - if : matrix.backend == 'gcc'
116+ run : |
112117 sudo apt-get -y --no-install-recommends purge cpp gcc
113118 curl --proto '=https' --tlsv1.2 -sSfLO https://github.com/rust-lang/gcc/releases/latest/download/gcc-15.deb
114119 sudo dpkg -i gcc-15.deb
@@ -123,7 +128,6 @@ jobs:
123128
124129 echo "MAKE_KRUSTFLAGS=KRUSTFLAGS=-Zcodegen-backend=$(pwd)/rustc_codegen_gcc/target/release/librustc_codegen_gcc.so" >> $GITHUB_ENV
125130
126-
127131 cd rustc_codegen_gcc
128132 echo 'gcc-path = "/usr/lib"' > config.toml
129133 #sed -i '/channel/d' rust-toolchain
You can’t perform that action at this time.
0 commit comments