Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
4 changes: 4 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
fn main() {
// Cygwin target, added in 1.86
println!("cargo:rustc-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