Skip to content

Commit a9a64db

Browse files
committed
We can assume has_i128 in Rust 1.26
1 parent f6b7afe commit a9a64db

File tree

4 files changed

+0
-39
lines changed

4 files changed

+0
-39
lines changed

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ documentation = "https://docs.rs/rayon/"
1111
readme = "README.md"
1212
keywords = ["parallel", "thread", "concurrency", "join", "performance"]
1313
categories = ["concurrency"]
14-
build = "build.rs"
1514
exclude = ["/ci/*", "/scripts/*", "/.travis.yml", "/appveyor.yml", "/bors.toml"]
1615

1716
[workspace]

build.rs

Lines changed: 0 additions & 33 deletions
This file was deleted.

src/iter/test.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ pub fn execute_unindexed_range() {
5858
assert_eq!(b, c);
5959
}
6060

61-
#[cfg(has_i128)]
6261
#[test]
6362
pub fn execute_pseudo_indexed_range() {
6463
use std::i128::MAX;

src/range.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,7 @@ indexed_range_impl! {isize}
215215
// other Range<T> with just Iterator
216216
unindexed_range_impl! {u64, u64}
217217
unindexed_range_impl! {i64, u64}
218-
#[cfg(has_i128)]
219218
unindexed_range_impl! {u128, u128}
220-
#[cfg(has_i128)]
221219
unindexed_range_impl! {i128, u128}
222220

223221
#[test]
@@ -230,7 +228,6 @@ fn check_range_split_at_overflow() {
230228
assert_eq!(r1 + r2, -100);
231229
}
232230

233-
#[cfg(has_i128)]
234231
#[test]
235232
fn test_i128_len_doesnt_overflow() {
236233
use std::{i128, u128};
@@ -267,7 +264,6 @@ fn test_u64_opt_len() {
267264
}
268265
}
269266

270-
#[cfg(has_i128)]
271267
#[test]
272268
fn test_u128_opt_len() {
273269
use std::{u128, usize};

0 commit comments

Comments
 (0)