Skip to content

Commit

Permalink
include hermit_abi as libc
Browse files Browse the repository at this point in the history
  • Loading branch information
stlankes committed Feb 24, 2024
1 parent c58f843 commit 6c0194a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ log = { version = "0.4.8", optional = true }
libc = "0.2.149"

[target.'cfg(target_os = "hermit")'.dependencies]
hermit-abi = { version = "0.3.6" }
libc = { package = "hermit-abi", version = "0.3.8" }

[target.'cfg(windows)'.dependencies.windows-sys]
version = "0.52"
Expand Down
3 changes: 0 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@
//!
//! The available features are described in the [`features`] module.
#[cfg(target_os = "hermit")]
extern crate hermit_abi as libc;

// macros used internally
#[macro_use]
mod macros;
Expand Down

0 comments on commit 6c0194a

Please sign in to comment.