Skip to content

Commit e28a6cd

Browse files
authored
Unrolled build for #148914
Rollup merge of #148914 - folkertdev:aarch64-openbsd-fix-import, r=Mark-Simulacrum fix incorrect import in `std_detect` on `aarch64-unknown-openbsd` fixes #148898 In #147024 the module structure of `std_detect` for `openbsd` was changed which invalidated this `super::` usage. I've now tested that `std_detect` builds (or well, checks, because I don't have the right linkers) with `aarch64-unknown-openbsd` and `powerpc64-unknown-openbsd`.
2 parents cc57d9a + ac3faf0 commit e28a6cd

File tree

1 file changed

+1
-1
lines changed
  • library/std_detect/src/detect/os/openbsd

1 file changed

+1
-1
lines changed

library/std_detect/src/detect/os/openbsd/aarch64.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ pub(crate) fn detect_features() -> cache::Initializer {
3131
// the feature is available.
3232
let aa64pfr0 = sysctl64(&[libc::CTL_MACHDEP, CPU_ID_AA64PFR0]);
3333

34-
super::aarch64::parse_system_registers(aa64isar0, aa64isar1, aa64mmfr2, aa64pfr0)
34+
crate::detect::aarch64::parse_system_registers(aa64isar0, aa64isar1, aa64mmfr2, aa64pfr0)
3535
}
3636

3737
#[inline]

0 commit comments

Comments
 (0)