Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename to x86_64-unknown-none-hermitkernel #11

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions rftrace/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down
4 changes: 2 additions & 2 deletions rftrace/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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?
Expand Down