Skip to content

Commit 1b36ee1

Browse files
bors[bot]josephlr
andauthored
Merge #103
103: Allow hermit-abi to build without std r=stlankes a=josephlr This makes crates depending on `hermit-abi` able to 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]> Co-authored-by: Joe Richey <[email protected]>
2 parents 6872276 + 6c33bcb commit 1b36ee1

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)