Skip to content

Commit 620a8af

Browse files
RuoqingHeroypat
authored andcommitted
benches: Re-organize module layout
Code in `mod.rs` of `aarch64` do not contain architecture specific code as of `aarch64`, it's only used by `aarch64` to run benchmark tests, move it one level up and rename it to `fdt.rs` to allow reusing on riscv64 platform. Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
1 parent 1ca7e3d commit 620a8af

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
File renamed without changes.

benches/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ mod x86_64;
1717
use x86_64::*;
1818

1919
#[cfg(target_arch = "aarch64")]
20-
mod aarch64;
20+
mod fdt;
2121
#[cfg(target_arch = "aarch64")]
22-
use aarch64::*;
22+
pub use fdt::*;
2323

2424
criterion_group! {
2525
name = benches;

0 commit comments

Comments
 (0)