diff options
| author | Stefan Lankes <slankes@eonerc.rwth-aachen.de> | 2019-10-06 15:26:14 +0000 |
|---|---|---|
| committer | Stefan Lankes <slankes@eonerc.rwth-aachen.de> | 2019-10-06 15:26:14 +0000 |
| commit | c1e440a90f472468c8069ba6254b23c6feedc32e (patch) | |
| tree | 6e7920b36e0ecd63e8b7b1a6ec236ff5e86a5a01 /src/libstd/build.rs | |
| parent | 7870050796e5904a0fc85ecbe6fa6dde1cfe0c91 (diff) | |
| download | rust-c1e440a90f472468c8069ba6254b23c6feedc32e.tar.gz rust-c1e440a90f472468c8069ba6254b23c6feedc32e.zip | |
redesign of the interface to the unikernel HermitCore
- the old interface between HermitCore and the Rust Standard Library based on a small C library (newlib) - remove this interface and call directly the unikernel - remove the dependency to the HermitCore linker - use rust-lld as linker
Diffstat (limited to 'src/libstd/build.rs')
| -rw-r--r-- | src/libstd/build.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/build.rs b/src/libstd/build.rs index 8db7bc12cd3..1f839f16532 100644 --- a/src/libstd/build.rs +++ b/src/libstd/build.rs @@ -54,5 +54,7 @@ fn main() { } println!("cargo:rustc-link-lib=c"); println!("cargo:rustc-link-lib=compiler_rt"); + } else if target.contains("hermit") { + println!("cargo:rustc-link-lib=hermit"); } } |
