Skip to content

Commit 6c33bcb

Browse files
committed
Allow hermit-abi to build without std
This makes crates depending on hermit-abi able to check their build by just using `-Zbuild-std=core` instead of needing all of `-Zbuild-std`. Also, remove an unnecessary feature that isn't used anywhere. Signed-off-by: Joe Richey <[email protected]>
1 parent 6872276 commit 6c33bcb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

hermit-abi/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
//! `hermit-abi` is small interface to call functions from the unikernel
22
//! [RustyHermit](https://github.com/hermitcore/libhermit-rs).
33
4-
#![cfg_attr(feature = "rustc-dep-of-std", no_std)]
5-
#![feature(const_raw_ptr_to_usize_cast)]
4+
#![no_std]
65
extern crate libc;
76

87
pub mod tcplistener;

0 commit comments

Comments
 (0)