File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ pub(crate) fn rem_digit(a: &BigUint, b: BigDigit) -> BigDigit {
139
139
pub ( crate ) fn __add2 ( a : & mut [ BigDigit ] , b : & [ BigDigit ] ) -> BigDigit {
140
140
debug_assert ! ( a. len( ) >= b. len( ) ) ;
141
141
142
- use std :: arch:: x86_64:: _addcarry_u64;
142
+ use core :: arch:: x86_64:: _addcarry_u64;
143
143
144
144
let mut carry = 0 ;
145
145
let ( a_lo, a_hi) = a. split_at_mut ( b. len ( ) ) ;
@@ -205,7 +205,7 @@ pub(crate) fn add2(a: &mut [BigDigit], b: &[BigDigit]) {
205
205
206
206
#[ cfg( all( u64_digit, target_arch = "x86_64" ) ) ] // only run on x86_64, when we have u64 digits
207
207
pub ( crate ) fn sub2 ( a : & mut [ BigDigit ] , b : & [ BigDigit ] ) {
208
- use std :: arch:: x86_64:: _subborrow_u64;
208
+ use core :: arch:: x86_64:: _subborrow_u64;
209
209
210
210
let mut borrow = 0 ;
211
211
@@ -267,7 +267,7 @@ pub(crate) fn sub2(a: &mut [BigDigit], b: &[BigDigit]) {
267
267
#[ cfg( all( u64_digit, target_arch = "x86_64" ) ) ] // only run on x86_64, when we have u64 digits
268
268
#[ inline]
269
269
pub ( crate ) fn __sub2rev ( a : & [ BigDigit ] , b : & mut [ BigDigit ] ) -> BigDigit {
270
- use std :: arch:: x86_64:: _subborrow_u64;
270
+ use core :: arch:: x86_64:: _subborrow_u64;
271
271
debug_assert ! ( b. len( ) == a. len( ) ) ;
272
272
273
273
let mut borrow = 0 ;
You can’t perform that action at this time.
0 commit comments