This repository was archived by the owner on Apr 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ license = "MIT OR Apache-2.0"
77
88[dependencies ]
99libm = { 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 ]
1414default = []
Original file line number Diff line number Diff line change @@ -15,4 +15,4 @@ musl-bitwise-tests = ["rand"]
1515libm = { path = " ../.." }
1616
1717[build-dependencies ]
18- rand = { version = " 0.6 .5" , optional = true }
18+ rand = { version = " 0.8 .5" , optional = true }
Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments