]> git.lizzy.rs Git - rust.git/commit
Add modifications needed for L4re in libstd
authorTobias Schaffner <tschaff@genua.de>
Fri, 18 Aug 2017 09:50:20 +0000 (11:50 +0200)
committerTobias Schaffner <tschaff@genua.de>
Fri, 8 Sep 2017 12:36:56 +0000 (14:36 +0200)
commit9bbc6dbde3e3807362680a355098102bb38a67fe
tree2c154e9288f0929d11a134dbd403ec4ac28fa1ca
parent2cf0a4ad4690c587d755dc6e5383779dddb9b178
Add modifications needed for L4re in libstd

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:
c151220a84e40b65e45308cc0f3bbea4466d3acf

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

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

Co-authored-by: Sebastian Humenda <sebastian.humenda@tu-dresden.de>
src/libstd/lib.rs
src/libstd/os/mod.rs
src/libstd/sys/unix/args.rs
src/libstd/sys/unix/condvar.rs
src/libstd/sys/unix/env.rs
src/libstd/sys/unix/fd.rs
src/libstd/sys/unix/fs.rs
src/libstd/sys/unix/mod.rs
src/libstd/sys/unix/os.rs
src/libstd/sys/unix/thread.rs
src/libstd/sys_common/mod.rs