about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-09-26 18:21:15 +0000
committerbors <bors@rust-lang.org>2015-09-26 18:21:15 +0000
commitc9c79084b0b60766b5e330074206b27007b237c0 (patch)
tree743bbb9f1c15f7d3e89950d3c85f5dab40f35927 /src/rustllvm/RustWrapper.cpp
parente266651a3dad368085be32d8f26305c225f131f6 (diff)
parentc099cfab061e8464141a1cf85c2bd09536a311d0 (diff)
downloadrust-c9c79084b0b60766b5e330074206b27007b237c0.tar.gz
rust-c9c79084b0b60766b5e330074206b27007b237c0.zip
Auto merge of #28593 - gandro:rumprun, r=alexcrichton
This adds a new target, `x86_64-rumprun-netbsd`, and related changes to `std`.

Rumprun is a unikernel platform that provides a POSIX-y interface. For the most part, rumprun uses NetBSD's libc and drivers, therefore `target_os` is `netbsd`. However, being a unikernel, rumprun does not support process management, signals or virtual memory, so related functions might fail at runtime. For this reason, stack guards are disabled in `std`.

To support conditional compilation, `target_env` is set to `rumprun`. Maybe `target_vendor` would be technically more fitting, but it doesn't seem to be worth the hassle.

Code for rumprun is always cross-compiled, it uses always static linking and needs a custom linker. The target makes use of the newly introduced `no_default_libs` flag, as the rumprun linker will otherwise not use the correct search path.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions