Skip to content

Commit 14be1bc

Browse files
committed
Move Redox to stable checks
It should be able to be compiled with a stable compiler since rust-lang/libc#2728.
1 parent 6669064 commit 14be1bc

File tree

1 file changed

+1
-22
lines changed

1 file changed

+1
-22
lines changed

.github/workflows/main.yml

+1-22
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,7 @@ jobs:
6161
strategy:
6262
fail-fast: false
6363
matrix:
64-
# TODO: add the following targets, currently broken.
65-
# "x86_64-unknown-redox"
66-
target: ["aarch64-apple-ios", "aarch64-linux-android", "x86_64-apple-darwin", "x86_64-fuchsia", "x86_64-pc-windows-msvc", "x86_64-pc-solaris", "x86_64-unknown-illumos", "x86_64-unknown-linux-gnu", "x86_64-unknown-netbsd"]
64+
target: ["aarch64-apple-ios", "aarch64-linux-android", "x86_64-apple-darwin", "x86_64-fuchsia", "x86_64-pc-windows-msvc", "x86_64-pc-solaris", "x86_64-unknown-illumos", "x86_64-unknown-linux-gnu", "x86_64-unknown-netbsd", "x86_64-unknown-redox"]
6765
steps:
6866
- uses: actions/checkout@master
6967
- name: Install Rust
@@ -74,22 +72,3 @@ jobs:
7472
uses: taiki-e/install-action@cargo-hack
7573
- name: Run check
7674
run: cargo hack check --feature-powerset --all-targets --examples --bins --tests --target ${{ matrix.target }}
77-
78-
# Redox needs a nightly compiler for libc:
79-
# https://github.com/rust-lang/libc/issues/2012
80-
Check_Redox:
81-
name: Check
82-
runs-on: ubuntu-latest
83-
strategy:
84-
matrix:
85-
target: ["x86_64-unknown-redox"]
86-
steps:
87-
- uses: actions/checkout@master
88-
- name: Install Rust nightly
89-
run: rustup update nightly && rustup default nightly
90-
- name: Install Target
91-
run: rustup target add ${{ matrix.target }}
92-
- name: Install cargo-hack
93-
uses: taiki-e/install-action@cargo-hack
94-
- name: Run check
95-
run: cargo hack check --feature-powerset --all-targets --examples --bins --tests --target ${{ matrix.target }}

0 commit comments

Comments
 (0)