diff options
| author | Colin Finck <colin.finck@rwth-aachen.de> | 2018-07-30 15:50:51 +0200 |
|---|---|---|
| committer | Colin Finck <colin.finck@rwth-aachen.de> | 2018-07-30 15:50:51 +0200 |
| commit | e50f4eeaadcea0c1dcc28e15dfe91dd38393a6da (patch) | |
| tree | c61ad5332011435e2efb2ac7feaebd227d82ffbe /src/tools | |
| parent | 7bbcd005b30582d07f1a39dcf50f77b54e055828 (diff) | |
| download | rust-e50f4eeaadcea0c1dcc28e15dfe91dd38393a6da.tar.gz rust-e50f4eeaadcea0c1dcc28e15dfe91dd38393a6da.zip | |
Add targets for HermitCore (https://hermitcore.org) to the Rust compiler and port libstd to it.
As a start, the port uses the simplest possible configuration (no jemalloc, abort on panic) and makes use of existing Unix-specific code wherever possible. It adds targets for x86_64 (current main HermitCore platform) and aarch64 (HermitCore platform under development). Together with the patches to "liblibc" and "llvm", this enables HermitCore applications to be written in Rust.
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/build-manifest/src/main.rs | 1 | ||||
| -rw-r--r-- | src/tools/compiletest/src/util.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/build-manifest/src/main.rs b/src/tools/build-manifest/src/main.rs index 83b2895e1d6..bbce87a7c9a 100644 --- a/src/tools/build-manifest/src/main.rs +++ b/src/tools/build-manifest/src/main.rs @@ -109,6 +109,7 @@ static TARGETS: &'static [&'static str] = &[ "x86_64-sun-solaris", "x86_64-unknown-cloudabi", "x86_64-unknown-freebsd", + "x86_64-unknown-hermit", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-gnux32", "x86_64-unknown-linux-musl", diff --git a/src/tools/compiletest/src/util.rs b/src/tools/compiletest/src/util.rs index 91e7399f1f4..2a716970ca7 100644 --- a/src/tools/compiletest/src/util.rs +++ b/src/tools/compiletest/src/util.rs @@ -25,6 +25,7 @@ const OS_TABLE: &'static [(&'static str, &'static str)] = &[ ("freebsd", "freebsd"), ("fuchsia", "fuchsia"), ("haiku", "haiku"), + ("hermit", "hermit"), ("ios", "ios"), ("l4re", "l4re"), ("linux", "linux"), |
