Skip to content

Commit f3df280

Browse files
committed
meta: Upgrade all dependencies to the latest compatible versions
This allows us to drop wasm-specific configuration for `getrandom`. Link: https://github.com/rust-random/getrandom/blob/314fd5ab3e6d9ef2ec90243894731865a725417d/CHANGELOG.md#major-change-to-wasm_js-backend
1 parent e808326 commit f3df280

File tree

7 files changed

+16
-21
lines changed

7 files changed

+16
-21
lines changed

ci/run.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@ if [ -z "$target" ]; then
1313
target="$host_target"
1414
fi
1515

16-
if [[ "$target" = *"wasm"* ]]; then
17-
# Enable the random backend
18-
export RUSTFLAGS="${RUSTFLAGS:-} --cfg getrandom_backend=\"wasm_js\""
19-
fi
20-
2116
if [ "${USING_CONTAINER_RUSTC:-}" = 1 ]; then
2217
# Install nonstandard components if we have control of the environment
2318
rustup target list --installed |

crates/libm-macros/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ proc-macro = true
1010

1111
[dependencies]
1212
heck = "0.5.0"
13-
proc-macro2 = "1.0.95"
14-
quote = "1.0.40"
15-
syn = { version = "2.0.104", features = ["full", "extra-traits", "visit-mut"] }
13+
proc-macro2 = "1.0.106"
14+
quote = "1.0.44"
15+
syn = { version = "2.0.114", features = ["full", "extra-traits", "visit-mut"] }
1616

1717
[lints.rust]
1818
# Values used during testing

crates/musl-math-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ license = "MIT OR Apache-2.0"
1111
libm = { path = "../../libm" }
1212

1313
[build-dependencies]
14-
cc = "1.2.29"
14+
cc = "1.2.55"

crates/symbol-check/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ edition = "2024"
55
publish = false
66

77
[dependencies]
8-
object = "0.37.1"
9-
serde_json = "1.0.140"
8+
object = "0.37.3"
9+
serde_json = "1.0.149"
1010

1111
[features]
1212
wasm = ["object/wasm"]

crates/util/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ libm = { path = "../../libm", default-features = false }
1616
libm-macros = { path = "../libm-macros" }
1717
libm-test = { path = "../../libm-test", default-features = false }
1818
musl-math-sys = { path = "../musl-math-sys", optional = true }
19-
rug = { version = "1.27.0", optional = true, default-features = false, features = ["float", "std"] }
19+
rug = { version = "1.28.1", optional = true, default-features = false, features = ["float", "std"] }

libm-test/Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,25 @@ icount = ["dep:gungraun"]
2828
short-benchmarks = []
2929

3030
[dependencies]
31-
anyhow = "1.0.98"
31+
anyhow = "1.0.101"
3232
# This is not directly used but is required so we can enable `gmp-mpfr-sys/force-cross`.
33-
gmp-mpfr-sys = { version = "1.6.5", optional = true, default-features = false }
33+
gmp-mpfr-sys = { version = "1.6.8", optional = true, default-features = false }
3434
gungraun = { version = "0.17.0", optional = true }
35-
indicatif = { version = "0.18.0", default-features = false }
35+
indicatif = { version = "0.18.3", default-features = false }
3636
libm = { path = "../libm", features = ["unstable-public-internals"] }
3737
libm-macros = { path = "../crates/libm-macros" }
3838
musl-math-sys = { path = "../crates/musl-math-sys", optional = true }
3939
paste = "1.0.15"
40-
rand = "0.9.1"
40+
rand = "0.9.2"
4141
rand_chacha = "0.9.0"
42-
rayon = "1.10.0"
43-
rug = { version = "1.27.0", optional = true, default-features = false, features = ["float", "integer", "std"] }
42+
rayon = "1.11.0"
43+
rug = { version = "1.28.1", optional = true, default-features = false, features = ["float", "integer", "std"] }
4444

4545
[target.'cfg(target_family = "wasm")'.dependencies]
46-
getrandom = { version = "0.3.3", features = ["wasm_js"] }
46+
getrandom = { version = "0.3.4", features = ["wasm_js"] }
4747

4848
[build-dependencies]
49-
rand = { version = "0.9.1", optional = true }
49+
rand = { version = "0.9.2", optional = true }
5050

5151
[dev-dependencies]
5252
criterion = { version = "0.6.0", default-features = false, features = ["cargo_bench_support"] }

libm-test/src/precision.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ fn int_float_common<F1: Float, F2: Float>(
498498
if input.0 > 4000 {
499499
return XFAIL_NOCHECK;
500500
} else if input.0 > 100 {
501-
return CheckAction::AssertWithUlp(1_000_000);
501+
return CheckAction::AssertWithUlp(2_000_000);
502502
}
503503
}
504504
DEFAULT

0 commit comments

Comments
 (0)