about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-10-26 19:35:59 +0000
committerbors <bors@rust-lang.org>2019-10-26 19:35:59 +0000
commitfae75cd216c481de048e4951697c8f8525669c65 (patch)
tree157e46f84638aa1fa3b0339ced417876e8ca209a /src/bootstrap
parent46e6c533d08a2c6d22083a2756a0b569e001c3c4 (diff)
parent805a330ab4c7f33421acacbee0545f6991b2fc70 (diff)
downloadrust-fae75cd216c481de048e4951697c8f8525669c65.tar.gz
rust-fae75cd216c481de048e4951697c8f8525669c65.zip
Auto merge of #65167 - hermitcore:rusty-hermit, r=alexcrichton
Redesign the interface to the unikernel HermitCore

We are developing the unikernel HermitCore, where the kernel is written in Rust and is already part of the Rust Standard Library. The interface between the standard library and the kernel based on a small C library. With this pull request, we remove completely the dependency to C and use lld as linker. Currently, the kernel will be linked to the application as static library, which is published at https://github.com/hermitcore/libhermit-rs.

We don’t longer support the C interface to the kernel. Consequently, we remove this part from the Rust Standard Library.
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs
index d1cf1cbca78..cbdb174c02d 100644
--- a/src/bootstrap/lib.rs
+++ b/src/bootstrap/lib.rs
@@ -160,7 +160,7 @@ mod job {
     }
 }
 
-#[cfg(any(target_os = "haiku", not(any(unix, windows))))]
+#[cfg(any(target_os = "haiku", target_os = "hermit", not(any(unix, windows))))]
 mod job {
     pub unsafe fn setup(_build: &mut crate::Build) {
     }