Skip to content

Commit 1fdc8a2

Browse files
authored
Merge pull request rust-lang#304 from tgross35/upgrade-deps
Upgrade all dependencies
2 parents cd28486 + 6023ee6 commit 1fdc8a2

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ default-members = [
3434
]
3535

3636
[dev-dependencies]
37-
no-panic = "0.1.8"
37+
no-panic = "0.1.30"
3838

3939

4040
# This is needed for no-panic to correctly detect the lack of panics

crates/libm-bench/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ license = "MIT OR Apache-2.0"
77

88
[dependencies]
99
libm = { path = "../..", default-features = false }
10-
rand = "0.6.5"
11-
paste = "0.1.5"
10+
rand = "0.8.5"
11+
paste = "1.0.15"
1212

1313
[features]
1414
default = []

crates/libm-test/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ musl-bitwise-tests = ["rand"]
1515
libm = { path = "../.." }
1616

1717
[build-dependencies]
18-
rand = { version = "0.6.5", optional = true }
18+
rand = { version = "0.8.5", optional = true }

crates/libm-test/build.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ mod musl_reference_tests {
185185

186186
return match self {
187187
Ty::F32 => {
188-
if r.gen_range(0, 20) < 1 {
188+
if r.gen_range(0..20) < 1 {
189189
let i = *[f32::NAN, f32::INFINITY, f32::NEG_INFINITY]
190190
.choose(r)
191191
.unwrap();
@@ -195,7 +195,7 @@ mod musl_reference_tests {
195195
}
196196
}
197197
Ty::F64 => {
198-
if r.gen_range(0, 20) < 1 {
198+
if r.gen_range(0..20) < 1 {
199199
let i = *[f64::NAN, f64::INFINITY, f64::NEG_INFINITY]
200200
.choose(r)
201201
.unwrap();
@@ -205,7 +205,7 @@ mod musl_reference_tests {
205205
}
206206
}
207207
Ty::I32 => {
208-
if r.gen_range(0, 10) < 1 {
208+
if r.gen_range(0..10) < 1 {
209209
let i = *[i32::max_value(), 0, i32::min_value()].choose(r).unwrap();
210210
i.into()
211211
} else {

0 commit comments

Comments
 (0)