Skip to content

Commit

Permalink
rename target to build libos
Browse files Browse the repository at this point in the history
  • Loading branch information
stlankes committed Apr 25, 2021
1 parent bc3db32 commit c990605
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hermit-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fn build_hermit(src_dir: &Path, target_dir_opt: Option<&Path>) {
.arg("-Z")
.arg("build-std=core,alloc")
.arg("--target")
.arg("x86_64-unknown-hermit-kernel");
.arg("x86_64-unknown-none-hermitkernel");
} else if target.target_arch() == "aarch64" {
cmd.current_dir(src_dir)
.arg("build")
Expand Down Expand Up @@ -108,7 +108,7 @@ fn build_hermit(src_dir: &Path, target_dir_opt: Option<&Path>) {

let lib_location = if target.target_arch() == "x86_64" {
target_dir
.join("x86_64-unknown-hermit-kernel")
.join("x86_64-unknown-none-hermitkernel")
.join(&profile)
.canonicalize()
.unwrap() // Must exist after building
Expand Down

0 comments on commit c990605

Please sign in to comment.