Skip to content

Commit 6a3b07b

Browse files
committed
Fix aarch64 freebsd compilation
1 parent 0958d8e commit 6a3b07b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/std_detect/src/detect/os/freebsd/aarch64.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Run-time feature detection for Aarch64 on FreeBSD.
22
3-
pub use super::super::aarch64::detect_features;
3+
pub(crate) use super::super::aarch64::detect_features;
44

55
#[cfg(test)]
66
mod tests {

crates/std_detect/src/detect/os/freebsd/auxvec.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//! Parses ELF auxiliary vectors.
2-
#![cfg_attr(any(target_arch = "arm", target_arch = "powerpc64"), allow(dead_code))]
2+
#![cfg_attr(any(target_arch = "aarch64", target_arch = "arm", target_arch = "powerpc64"), allow(dead_code))]
33

44
/// Key to access the CPU Hardware capabilities bitfield.
55
pub(crate) const AT_HWCAP: usize = 25;

0 commit comments

Comments
 (0)