Skip to content
Merged
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: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
- Add VxWorks support
[#105](https://github.com/lambda-fairy/rust-errno/pull/105)

- Add cygwin support
[#106](https://github.com/lambda-fairy/rust-errno/pull/106)

# [0.3.10] - 2024-11-29

- Update to windows-sys 0.59
Expand Down
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,9 @@ libc = { version = "0.2", default-features = false }
[features]
default = ["std"]
std = ["libc/std"]

# TODO: Remove this exemption when Cygwin support lands in Rust stable
# https://github.com/rust-lang/rust/pull/134999
[lints.rust.unexpected_cfgs]
level = "warn"
check-cfg = ['cfg(target_os, values("cygwin"))']
1 change: 1 addition & 0 deletions src/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ extern "C" {
target_os = "android",
target_os = "espidf",
target_os = "vxworks",
target_os = "cygwin",
target_env = "newlib"
),
link_name = "__errno"
Expand Down