Skip to content

Commit

Permalink
Merge #150
Browse files Browse the repository at this point in the history
150: collection of minor improvements for aarch64 r=stlankes a=stlankes

- using the latest version of the crate "aarch64"
- using per default Qemu's UART interface

Co-authored-by: Stefan Lankes <slankes@eonerc.rwth-aachen.de>
  • Loading branch information
bors[bot] and stlankes committed Aug 18, 2021
2 parents cf81af7 + c789789 commit 0bd688f
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 60 deletions.
108 changes: 48 additions & 60 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions hermit-sys/build.rs
Expand Up @@ -57,6 +57,11 @@ fn build_hermit(src_dir: &Path, target_dir_opt: Option<&Path>) {
// disable all default features
cmd.arg("--no-default-features");

if target.target_arch() == "aarch64" {
cmd.arg("--features");
cmd.arg("aarch64-qemu-stdout");
}

// do we have to enable PCI support?
#[cfg(feature = "pci")]
{
Expand Down

0 comments on commit 0bd688f

Please sign in to comment.