8484 - tree : stable-rc/linux-6.6.y
8585 config : defconfig+debug
8686
87+ env :
88+ RUST_VERSION : nightly-2024-09-30
8789 steps :
8890 # Setup: variables.
8991 - run : echo "JOBS=-j$(($(nproc) + 1))" >> $GITHUB_ENV
@@ -139,7 +141,7 @@ jobs:
139141 curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- \
140142 -y \
141143 --no-modify-path \
142- --default-toolchain $(linux/scripts/min-tool-version.sh rustc) \
144+ --default-toolchain $RUST_VERSION \
143145 --profile minimal \
144146 --component rust-src \
145147 --component rustfmt \
@@ -153,7 +155,7 @@ jobs:
153155 curl --proto '=https' --tlsv1.2 -sSfLO https://github.com/rust-lang/gcc/releases/latest/download/gcc-13.deb
154156 dpkg -i gcc-13.deb
155157
156- git clone --depth 1 --branch $(linux/scripts/min-tool-version.sh rustc) https://github.com/rust-lang/rust.git rust-repo
158+ git clone --depth 1 --branch $RUST_VERSION https://github.com/rust-lang/rust.git rust-repo
157159
158160 echo "MAKE_KRUSTFLAGS=KRUSTFLAGS=-Zcodegen-backend=$(pwd)/rust-repo/compiler/rustc_codegen_gcc/target/release/librustc_codegen_gcc.so" >> $GITHUB_ENV
159161
@@ -162,7 +164,7 @@ jobs:
162164 sed -i '/channel/d' rust-toolchain
163165 export RUSTC_BOOTSTRAP=1
164166 ./y.sh prepare --only-libcore
165- ./y.sh build --release --features master
167+ ./y.sh build --sysroot -- release --features master
166168
167169 # Setup: `bindgen`.
168170 #
@@ -242,9 +244,11 @@ jobs:
242244
243245 # Check `.comment` section.
244246 - run : |
247+ # TODO: update version here.
245248 if [ $(linux/scripts/min-tool-version.sh rustc | cut -d'.' -f2) -ge 73 ]; then
246249 llvm-readelf --string-dump .comment ${{ env.OUTPUT_DIR }}rust/core.o
247250 llvm-objcopy --dump-section .comment=comment ${{ env.OUTPUT_DIR }}rust/core.o
251+ # TODO: update version here.
248252 grep --text "^.rustc version $(linux/scripts/min-tool-version.sh rustc)" comment
249253 if ${{ matrix.toolchain == 'rustc_codegen_gcc' && 'true' || 'false' }}; then
250254 grep --text 'libgccjit' comment
0 commit comments