Skip to content

Commit c27c43f

Browse files
authored
Merge pull request #3806 from tgross35/backport-ci-fixes
[0.2] Combined CI fixes
2 parents 59890b5 + c919faf commit c27c43f

File tree

4 files changed

+10
-43
lines changed

4 files changed

+10
-43
lines changed

.github/workflows/full_ci.yml

-41
Original file line numberDiff line numberDiff line change
@@ -140,45 +140,6 @@ jobs:
140140
- name: Execute run-docker.sh
141141
run: LIBC_CI=1 sh ./ci/run-docker.sh ${{ matrix.target }}
142142

143-
# These targets are tier 3 or otherwise need to have CI build std via -Zbuild-std.
144-
# Because of this, only the nightly compiler can be used on these targets.
145-
docker_linux_build_std:
146-
permissions:
147-
contents: read # to fetch code (actions/checkout)
148-
149-
if: ${{ false }} # This is currently broken
150-
name: Docker Linux Build-Std Targets
151-
needs: [docker_linux_tier1, style_check]
152-
runs-on: ubuntu-22.04
153-
strategy:
154-
fail-fast: true
155-
max-parallel: 12
156-
matrix:
157-
target: [
158-
armv7-unknown-linux-uclibceabihf
159-
]
160-
steps:
161-
- uses: actions/checkout@v4
162-
- name: Setup Rust toolchain
163-
run: TOOLCHAIN=nightly INSTALL_RUST_SRC=1 sh ./ci/install-rust.sh
164-
- name: Execute run-docker.sh
165-
run: LIBC_CI=1 TOOLCHAIN=nightly LIBC_CI_ZBUILD_STD=1 sh ./ci/run-docker.sh ${{ matrix.target }}
166-
167-
# devkitpro's pacman needs to be connected from Docker.
168-
docker_switch:
169-
permissions:
170-
contents: read # to fetch code (actions/checkout)
171-
172-
name: Docker Switch
173-
needs: [docker_linux_tier1, style_check]
174-
runs-on: ubuntu-22.04
175-
steps:
176-
- uses: actions/checkout@v4
177-
- name: Setup Rust toolchain
178-
run: sh ./ci/install-rust.sh
179-
- name: Execute run-docker.sh
180-
run: LIBC_CI=1 sh ./ci/run-docker.sh switch
181-
182143
build_channels_linux:
183144
permissions:
184145
contents: read # to fetch code (actions/checkout)
@@ -283,11 +244,9 @@ jobs:
283244
needs: [
284245
docker_linux_tier1,
285246
docker_linux_tier2,
286-
#docker_linux_build_std,
287247
macos,
288248
windows,
289249
style_check,
290-
docker_switch,
291250
build_channels_linux,
292251
build_channels_macos,
293252
build_channels_windows,

Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ targets = [
4646
"armv7-wrs-vxworks-eabihf",
4747
"armv7r-none-eabi",
4848
"armv7r-none-eabihf",
49-
"hexagon-unknown-linux-musl",
49+
# FIXME(hexagon): excluded due to duplicate symbol errors
50+
# "hexagon-unknown-linux-musl",
5051
"i586-pc-windows-msvc",
5152
"i586-unknown-linux-gnu",
5253
"i586-unknown-linux-musl",

ci/build.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,8 @@ for TARGET in $TARGETS; do
212212
done
213213

214214
# Targets which are not available via rustup and must be built with -Zbuild-std
215+
# FIXME(hexagon): hexagon-unknown-linux-musl should be tested but currently has
216+
# duplicate symbol errors from `compiler_builtins`.
215217
RUST_LINUX_NO_CORE_TARGETS="\
216218
aarch64-pc-windows-msvc \
217219
aarch64-unknown-freebsd \
@@ -224,7 +226,6 @@ armebv7r-none-eabihf \
224226
armv7-wrs-vxworks-eabihf \
225227
armv7r-none-eabi \
226228
armv7r-none-eabihf \
227-
hexagon-unknown-linux-musl \
228229
i586-pc-windows-msvc \
229230
i686-pc-windows-msvc \
230231
i686-unknown-haiku \

libc-test/build.rs

+6
Original file line numberDiff line numberDiff line change
@@ -2311,6 +2311,12 @@ fn test_freebsd(target: &str) {
23112311
// should've been used anywhere anyway.
23122312
"TDF_UNUSED23" => true,
23132313

2314+
// Removed in FreeBSD 15
2315+
"TDF_CANSWAP" | "TDF_SWAPINREQ" => true,
2316+
2317+
// Unaccessible in FreeBSD 15
2318+
"TDI_SWAPPED" | "P_SWAPPINGOUT" | "P_SWAPPINGIN" => true,
2319+
23142320
// Removed in FreeBSD 14 (git a6b55ee6be1)
23152321
"IFF_KNOWSEPOCH" => true,
23162322

0 commit comments

Comments
 (0)