Skip to content

Commit e98b1dc

Browse files
authored
Try #202:
2 parents ff52f23 + 9534bf7 commit e98b1dc

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,9 @@ jobs:
7373
- name: Build httpd without DHCP support
7474
run:
7575
cargo build --package httpd
76+
- name: Build aarch64 debug profile
77+
run:
78+
cargo build -p hello_world --target aarch64-unknown-hermit
79+
- name: Build aarch64 release profile
80+
run:
81+
cargo build -p hello_world --target aarch64-unknown-hermit --release

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)