Skip to content

Commit

Permalink
removing kernel targets
Browse files Browse the repository at this point in the history
In hermit-os#197 we discuss to use x86_64-unknown-none target instead of
the special `kernel` target. Also the aarch64 port has to use
aarch64-unknown-none-softfloat. The floating point unit should not
use in the kernel space.
  • Loading branch information
stlankes committed Jan 8, 2022
1 parent 57815cc commit aa32705
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 @@ -39,8 +39,8 @@ fn build_hermit(src_dir: &Path, target_dir_opt: Option<&Path>) {
let mut cmd = Command::new("cargo");

let kernel_triple = match target_arch.as_str() {
"x86_64" => "x86_64-unknown-none-hermitkernel",
"aarch64" => "aarch64-unknown-hermit",
"x86_64" => "x86_64-unknown-none",
"aarch64" => "aarch64-unknown-none-softfloat",
_ => panic!("Unsupported target arch: {}", target_arch),
};

Expand Down

0 comments on commit aa32705

Please sign in to comment.