Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix libcore build #768

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/core_arch/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ mod core_arch;
pub use self::core_arch::arch::*;

#[allow(unused_imports)]
use core::{ffi, hint, intrinsics, marker, mem, ptr, sync};
use core::{ffi, hint, intrinsics, marker, mem, ops, ptr, sync};
2 changes: 1 addition & 1 deletion crates/core_arch/src/powerpc/altivec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ impl_from! { i8x16, u8x16, i16x8, u16x8, i32x4, u32x4, f32x4 }

macro_rules! impl_neg {
($s: ident : $zero: expr) => {
impl core::ops::Neg for s_t_l!($s) {
impl crate::ops::Neg for s_t_l!($s) {
type Output = s_t_l!($s);
fn neg(self) -> Self::Output {
let zero = $s::splat($zero);
Expand Down