Skip to content

Commit 3978488

Browse files
committed
Add tvOS and watchOS to CI
1 parent e6ed8e1 commit 3978488

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/tests.yml

+6
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ jobs:
158158
- uses: Swatinem/rust-cache@v2
159159
- run: cargo test --no-run --target=aarch64-apple-darwin --features=std
160160
- run: cargo test --no-run --target=aarch64-apple-ios --features=std
161+
- run: cargo test --no-run --target=aarch64-apple-watchos-sim -Zbuild-std --features=std
161162

162163
cross-link:
163164
name: Cross Build/Link
@@ -273,6 +274,7 @@ jobs:
273274
aarch64-kmc-solid_asp3,
274275
armv6k-nintendo-3ds,
275276
riscv32imc-esp-espidf,
277+
aarch64-apple-tvos,
276278
]
277279
include:
278280
# Supported tier 3 targets without libstd support
@@ -287,6 +289,10 @@ jobs:
287289
features: ["rdrand"]
288290
- target: x86_64-unknown-l4re-uclibc
289291
features: ["rdrand"]
292+
# `std` support still in progress. Can be moved up with the other
293+
# apple targets after https://github.com/rust-lang/rust/pull/103503
294+
- target: aarch64-apple-tvos
295+
features: []
290296
steps:
291297
- uses: actions/checkout@v3
292298
- uses: dtolnay/rust-toolchain@nightly # Required to build libcore

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ compiler_builtins = { version = "0.1", optional = true }
1818
core = { version = "1.0", optional = true, package = "rustc-std-workspace-core" }
1919

2020
[target.'cfg(unix)'.dependencies]
21-
libc = { version = "0.2.128", default-features = false }
21+
libc = { version = "0.2.136", default-features = false }
2222

2323
[target.'cfg(target_os = "wasi")'.dependencies]
2424
wasi = { version = "0.11", default-features = false }

0 commit comments

Comments
 (0)