about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2021-05-07 16:19:21 +0200
committerGitHub <noreply@github.com>2021-05-07 16:19:21 +0200
commitcea6e4d6b915b3f88fb850499fd3684d7a6c708e (patch)
tree38c18274257bed6587a8b51fa270bd0eb5243bd2
parent6e4c842305fc8370de730bf919a6fd1fc4aca962 (diff)
parent76f884abb979656f368ef39d0338b609323e43aa (diff)
downloadrust-cea6e4d6b915b3f88fb850499fd3684d7a6c708e.tar.gz
rust-cea6e4d6b915b3f88fb850499fd3684d7a6c708e.zip
Rollup merge of #84930 - hermitcore:target, r=nagisa
rename LLVM target for RustyHermit

- RustyHermit is a library operating system, where the user-
  and the kernel-space use the same target
- by a mistake a previous patch changes the target to an incorect value
- this merge request revert the previous changes
-rw-r--r--compiler/rustc_target/src/spec/x86_64_unknown_none_hermitkernel.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_target/src/spec/x86_64_unknown_none_hermitkernel.rs b/compiler/rustc_target/src/spec/x86_64_unknown_none_hermitkernel.rs
index 28d9801b78c..359cb0f6881 100644
--- a/compiler/rustc_target/src/spec/x86_64_unknown_none_hermitkernel.rs
+++ b/compiler/rustc_target/src/spec/x86_64_unknown_none_hermitkernel.rs
@@ -11,7 +11,7 @@ pub fn target() -> Target {
     base.stack_probes = StackProbeType::Call;
 
     Target {
-        llvm_target: "x86_64-unknown-none-elf".to_string(),
+        llvm_target: "x86_64-unknown-hermit".to_string(),
         pointer_width: 64,
         data_layout: "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
             .to_string(),