Skip to content

Commit e28b380

Browse files
RuoqingHerbradford
authored andcommitted
benches: Introduce riscv64 architecture
As clippy command in our CI mandates: `cargo clippy --workspace --bins --examples --benches --all-features --all-targets -- -D warnings -D clippy::undocumented_unsafe_blocks`, add benchmarck test to appease clippy. Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
1 parent eb825a9 commit e28b380

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benches/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ mod x86_64;
1616
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
1717
use x86_64::*;
1818

19-
#[cfg(target_arch = "aarch64")]
19+
#[cfg(any(target_arch = "aarch64", target_arch = "riscv64"))]
2020
mod fdt;
21-
#[cfg(target_arch = "aarch64")]
21+
#[cfg(any(target_arch = "aarch64", target_arch = "riscv64"))]
2222
pub use fdt::*;
2323

2424
criterion_group! {

0 commit comments

Comments
 (0)