Skip to content

Commit e32ea82

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

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/tests.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,14 @@ jobs:
152152
runs-on: macos-latest
153153
steps:
154154
- uses: actions/checkout@v3
155-
- uses: dtolnay/rust-toolchain@stable
155+
- uses: dtolnay/rust-toolchain@nightly
156156
with:
157157
targets: aarch64-apple-darwin, aarch64-apple-ios
158+
components: rust-src
158159
- uses: Swatinem/rust-cache@v2
159160
- run: cargo test --no-run --target=aarch64-apple-darwin --features=std
160161
- run: cargo test --no-run --target=aarch64-apple-ios --features=std
162+
- run: cargo test --no-run --target=aarch64-apple-watchos-sim -Zbuild-std --features=std
161163

162164
cross-link:
163165
name: Cross Build/Link
@@ -273,6 +275,9 @@ jobs:
273275
aarch64-kmc-solid_asp3,
274276
armv6k-nintendo-3ds,
275277
riscv32imc-esp-espidf,
278+
# `std` support still in progress. Can be moved up with the other
279+
# apple targets after https://github.com/rust-lang/rust/pull/103503
280+
aarch64-apple-tvos,
276281
]
277282
include:
278283
# Supported tier 3 targets without libstd support

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)