From f55e340796ef16d1b827f0b3af5b868040953588 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ning?= Date: Sat, 17 Jul 2021 11:38:25 +0200 Subject: [PATCH] Rename to x86_64-unknown-none-hermitkernel --- rftrace/Cargo.toml | 4 ++-- rftrace/build.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rftrace/Cargo.toml b/rftrace/Cargo.toml index 2b98820..ef9d035 100755 --- a/rftrace/Cargo.toml +++ b/rftrace/Cargo.toml @@ -20,8 +20,8 @@ include = [ [features] -buildcore = [] # Build core, needed when compiling against a kernel-target, such as x86_64-unknown-hermit-kernel. -autokernel = [] # convenience flag, which specifies compilation target as `x86_64-unknown-hermit-kernel` when orignal target is `x86_64-unknown-hermit` +buildcore = [] # Build core, needed when compiling against a kernel-target, such as x86_64-unknown-none-hermitkernel. +autokernel = [] # convenience flag, which specifies compilation target as `x86_64-unknown-none-hermitkernel` when orignal target is `x86_64-unknown-hermit` interruptsafe = [] # backup and restore all scratch registers in the mcount_return trampoline. Needed if we instrument interrupt routines default = ['interruptsafe'] diff --git a/rftrace/build.rs b/rftrace/build.rs index e9b6dbc..ed72b25 100755 --- a/rftrace/build.rs +++ b/rftrace/build.rs @@ -41,7 +41,7 @@ fn build_backend() { return default; #[cfg(feature = "autokernel")] if default == "x86_64-unknown-hermit" { - return "x86_64-unknown-hermit-kernel".to_owned(); + return "x86_64-unknown-none-hermitkernel".to_owned(); } else { return default; } @@ -83,7 +83,7 @@ fn build_backend() { cmd.stdout(Stdio::inherit()); cmd.stderr(Stdio::inherit()); - // Build core, needed when compiling against a kernel-target, such as x86_64-unknown-hermit-kernel. + // Build core, needed when compiling against a kernel-target, such as x86_64-unknown-none-hermitkernel. // parent's cargo does NOT expose -Z flags as envvar, we therefore use a feature flag for this #[cfg(feature = "buildcore")] cmd.args(&["-Z", "build-std=core"]); // should be build std,alloc?