Merge pull request rust-lang/libm#304 from tgross35/upgrade-deps
Upgrade all dependencies
This commit is contained in:
commit
42683081e5
4 changed files with 7 additions and 7 deletions
|
|
@ -34,7 +34,7 @@ default-members = [
|
|||
]
|
||||
|
||||
[dev-dependencies]
|
||||
no-panic = "0.1.8"
|
||||
no-panic = "0.1.30"
|
||||
|
||||
|
||||
# This is needed for no-panic to correctly detect the lack of panics
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ license = "MIT OR Apache-2.0"
|
|||
|
||||
[dependencies]
|
||||
libm = { path = "../..", default-features = false }
|
||||
rand = "0.6.5"
|
||||
paste = "0.1.5"
|
||||
rand = "0.8.5"
|
||||
paste = "1.0.15"
|
||||
|
||||
[features]
|
||||
default = []
|
||||
|
|
|
|||
|
|
@ -15,4 +15,4 @@ musl-bitwise-tests = ["rand"]
|
|||
libm = { path = "../.." }
|
||||
|
||||
[build-dependencies]
|
||||
rand = { version = "0.6.5", optional = true }
|
||||
rand = { version = "0.8.5", optional = true }
|
||||
|
|
|
|||
|
|
@ -185,7 +185,7 @@ mod musl_reference_tests {
|
|||
|
||||
return match self {
|
||||
Ty::F32 => {
|
||||
if r.gen_range(0, 20) < 1 {
|
||||
if r.gen_range(0..20) < 1 {
|
||||
let i = *[f32::NAN, f32::INFINITY, f32::NEG_INFINITY]
|
||||
.choose(r)
|
||||
.unwrap();
|
||||
|
|
@ -195,7 +195,7 @@ mod musl_reference_tests {
|
|||
}
|
||||
}
|
||||
Ty::F64 => {
|
||||
if r.gen_range(0, 20) < 1 {
|
||||
if r.gen_range(0..20) < 1 {
|
||||
let i = *[f64::NAN, f64::INFINITY, f64::NEG_INFINITY]
|
||||
.choose(r)
|
||||
.unwrap();
|
||||
|
|
@ -205,7 +205,7 @@ mod musl_reference_tests {
|
|||
}
|
||||
}
|
||||
Ty::I32 => {
|
||||
if r.gen_range(0, 10) < 1 {
|
||||
if r.gen_range(0..10) < 1 {
|
||||
let i = *[i32::max_value(), 0, i32::min_value()].choose(r).unwrap();
|
||||
i.into()
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue