1
Fork 0

Auto merge of #43972 - TobiasSchaffner:std_clean, r=alexcrichton

Add the libstd-modifications needed for the L4Re target

This commit adds the needed modifications to compile the std crate for the L4 Runtime environment (L4Re).

A target for the L4Re was introduced in commit: c151220a84

In many aspects implementations for linux also apply for the L4Re microkernel.

Some uncommon characteristics had to be resolved:
 * L4Re has no network funktionality
 * L4Re has a maximum stacksize of 1Mb for threads
 * L4Re has no uid or gid

Co-authored-by: Sebastian Humenda <sebastian.humenda@tu-dresden.de>
This commit is contained in:
bors 2017-09-14 03:02:58 +00:00
commit 84bbd14e3f
20 changed files with 538 additions and 47 deletions

View file

@ -44,10 +44,10 @@ pub mod thread_local;
pub mod util;
pub mod wtf8;
#[cfg(target_os = "redox")]
#[cfg(any(target_os = "redox", target_os = "l4re"))]
pub use sys::net;
#[cfg(not(target_os = "redox"))]
#[cfg(not(any(target_os = "redox", target_os = "l4re")))]
pub mod net;
#[cfg(feature = "backtrace")]