Skip to content

Commit b7cb47b

Browse files
Tobias Kortkampgnzlbg
Tobias Kortkamp
authored andcommitted
Fix build of auxvec.rs on FreeBSD/powerpc64
``` error[E0432]: unresolved import `mem` --> src/libstd/../stdsimd/crates/std_detect/src/detect/os/freebsd/auxvec.rs:45:9 | 45 | use mem; | ^^^ no `mem` external crate error: aborting due to previous error For more information about this error, try `rustc --explain E0432`. error: Could not compile `std`. ``` Tested by @pkubaj in https://reviews.freebsd.org/D20332
1 parent 22d579c commit b7cb47b

File tree

1 file changed

+1
-1
lines changed
  • crates/std_detect/src/detect/os/freebsd

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pub(crate) fn auxv() -> Result<AuxVec, ()> {
4242

4343
/// Tries to read the `key` from the auxiliary vector.
4444
fn archauxv(key: usize) -> Result<usize, ()> {
45-
use mem;
45+
use crate::mem;
4646

4747
#[derive (Copy, Clone)]
4848
#[repr(C)]

0 commit comments

Comments
 (0)