Skip to content

Commit 82c8800

Browse files
committed
Disable Haiku in CI due to upstream breakage, and fix a no_std error.
1 parent 7077238 commit 82c8800

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,8 @@ jobs:
217217
# Omit --all-targets on gnu_ilp32 because dev-dependency tempfile depends on an older rustix
218218
- run: cargo check -Z build-std --target aarch64-unknown-linux-gnu_ilp32 --features=all-apis
219219
# Omit --all-targets on haiku because not all the tests build yet.
220-
- run: cargo check -Z build-std --target x86_64-unknown-haiku --features=all-apis
220+
# Temporarily disable this because the target appears to have breakage on nightly.
221+
#- run: cargo check -Z build-std --target x86_64-unknown-haiku --features=all-apis
221222
- run: cargo check -Z build-std --target x86_64-uwp-windows-msvc --all-targets --features=all-apis
222223
# Temporarily disable riscv32imc-esp-espidf due to std using SOMAXCONN.
223224
#- run: cargo check -Z build-std --target=riscv32imc-esp-espidf --features=all-apis

src/net/netdevice.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
//! [Linux]: https://man7.org/linux/man-pages/man7/netdevice.7.html
1919
2020
#[cfg(feature = "alloc")]
21-
use crate::alloc::string::String;
21+
use alloc::string::String;
2222
use crate::fd::AsFd;
2323
use crate::io;
2424

0 commit comments

Comments
 (0)