Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,7 @@ jobs:
- target: x86_64-unknown-linux-musl
env: { TEST_MUSL_V1_2_3: 1 }
artifact-tag: new-musl
# FIXME: It seems some items in `src/unix/mod.rs` aren't defined on redox actually.
# - target: x86_64-unknown-redox
- target: x86_64-unknown-redox

# FIXME(ppc): SIGILL running tests, see
# https://github.com/rust-lang/libc/pull/4254#issuecomment-2636288713
Expand Down
4 changes: 3 additions & 1 deletion ci/docker/x86_64-unknown-redox/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ FROM redoxos/redoxer

RUN mv /root/.redoxer /.redoxer

ENV PATH=$PATH:/.redoxer/toolchain/bin:/rust/bin \
RUN ln -sf /root/.redoxer ~/.redoxer

ENV PATH=$PATH:$HOME/.redoxer/x86_64-unknown-redox/toolchain/bin \
AR_x86_64_unknown_redox="x86_64-unknown-redox-ar" \
CC_x86_64_unknown_redox="x86_64-unknown-redox-gcc" \
CARGO_TARGET_X86_64_UNKNOWN_REDOX_LINKER="x86_64-unknown-redox-gcc" \
Expand Down
4 changes: 2 additions & 2 deletions src/unix/redox/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -906,8 +906,8 @@ pub const OLCUC: crate::tcflag_t = 0o000_004;
pub const OCRNL: crate::tcflag_t = 0o000_010;
pub const ONOCR: crate::tcflag_t = 0o000_020;
pub const ONLRET: crate::tcflag_t = 0o000_040;
pub const OFILL: crate::tcflag_t = 0o0000_100;
pub const OFDEL: crate::tcflag_t = 0o0000_200;
pub const OFILL: crate::tcflag_t = 0o0_000_100;
pub const OFDEL: crate::tcflag_t = 0o0_000_200;

pub const B0: speed_t = 0o000_000;
pub const B50: speed_t = 0o000_001;
Expand Down
Loading