Skip to content

Commit

Permalink
fix(demo): remove unused aarch64 dependency
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kröning <[email protected]>
  • Loading branch information
mkroening committed Apr 10, 2024
1 parent 067d8f6 commit 28ae2f1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions examples/demo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ rayon = "1.5"
[target.'cfg(target_os = "hermit")'.dependencies]
hermit = { path = "../../hermit", default-features = false }

[target.'cfg(target_arch = "aarch64")'.dependencies.aarch64]
aarch64 = { version = "0.0.11", default-features = false }

[features]
default = ["fs", "hermit/acpi", "hermit/pci", "hermit/smp"]
fs = ["hermit/fs"]
2 changes: 0 additions & 2 deletions examples/demo/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ use std::net::{TcpListener, TcpStream};
use std::time::{self, Instant};
use std::{env, str, thread, vec};

#[cfg(target_arch = "aarch64")]
use aarch64::regs::*;
use rayon::prelude::*;

pub fn test_sleep() -> Result<(), ()> {
Expand Down

0 comments on commit 28ae2f1

Please sign in to comment.