Skip to content

Commit aa32705

Browse files
committed
removing kernel targets
In #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.
1 parent 57815cc commit aa32705

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hermit-sys/build.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ fn build_hermit(src_dir: &Path, target_dir_opt: Option<&Path>) {
3939
let mut cmd = Command::new("cargo");
4040

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

0 commit comments

Comments
 (0)