meta: Upgrade all dependencies to the latest compatible versions
This allows us to drop wasm-specific configuration for `getrandom`.
Link: 314fd5ab3e/CHANGELOG.md (major-change-to-wasm_js-backend)
This commit is contained in:
parent
c9d59bac1e
commit
4d24b508bb
7 changed files with 16 additions and 21 deletions
|
|
@ -13,11 +13,6 @@ if [ -z "$target" ]; then
|
|||
target="$host_target"
|
||||
fi
|
||||
|
||||
if [[ "$target" = *"wasm"* ]]; then
|
||||
# Enable the random backend
|
||||
export RUSTFLAGS="${RUSTFLAGS:-} --cfg getrandom_backend=\"wasm_js\""
|
||||
fi
|
||||
|
||||
if [ "${USING_CONTAINER_RUSTC:-}" = 1 ]; then
|
||||
# Install nonstandard components if we have control of the environment
|
||||
rustup target list --installed |
|
||||
|
|
|
|||
|
|
@ -10,9 +10,9 @@ proc-macro = true
|
|||
|
||||
[dependencies]
|
||||
heck = "0.5.0"
|
||||
proc-macro2 = "1.0.95"
|
||||
quote = "1.0.40"
|
||||
syn = { version = "2.0.104", features = ["full", "extra-traits", "visit-mut"] }
|
||||
proc-macro2 = "1.0.106"
|
||||
quote = "1.0.44"
|
||||
syn = { version = "2.0.114", features = ["full", "extra-traits", "visit-mut"] }
|
||||
|
||||
[lints.rust]
|
||||
# Values used during testing
|
||||
|
|
|
|||
|
|
@ -11,4 +11,4 @@ license = "MIT OR Apache-2.0"
|
|||
libm = { path = "../../libm" }
|
||||
|
||||
[build-dependencies]
|
||||
cc = "1.2.29"
|
||||
cc = "1.2.55"
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@ edition = "2024"
|
|||
publish = false
|
||||
|
||||
[dependencies]
|
||||
object = "0.37.1"
|
||||
serde_json = "1.0.140"
|
||||
object = "0.37.3"
|
||||
serde_json = "1.0.149"
|
||||
|
||||
[features]
|
||||
wasm = ["object/wasm"]
|
||||
|
|
|
|||
|
|
@ -16,4 +16,4 @@ libm = { path = "../../libm", default-features = false }
|
|||
libm-macros = { path = "../libm-macros" }
|
||||
libm-test = { path = "../../libm-test", default-features = false }
|
||||
musl-math-sys = { path = "../musl-math-sys", optional = true }
|
||||
rug = { version = "1.27.0", optional = true, default-features = false, features = ["float", "std"] }
|
||||
rug = { version = "1.28.1", optional = true, default-features = false, features = ["float", "std"] }
|
||||
|
|
|
|||
|
|
@ -28,25 +28,25 @@ icount = ["dep:gungraun"]
|
|||
short-benchmarks = []
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0.98"
|
||||
anyhow = "1.0.101"
|
||||
# This is not directly used but is required so we can enable `gmp-mpfr-sys/force-cross`.
|
||||
gmp-mpfr-sys = { version = "1.6.5", optional = true, default-features = false }
|
||||
gmp-mpfr-sys = { version = "1.6.8", optional = true, default-features = false }
|
||||
gungraun = { version = "0.17.0", optional = true }
|
||||
indicatif = { version = "0.18.0", default-features = false }
|
||||
indicatif = { version = "0.18.3", default-features = false }
|
||||
libm = { path = "../libm", features = ["unstable-public-internals"] }
|
||||
libm-macros = { path = "../crates/libm-macros" }
|
||||
musl-math-sys = { path = "../crates/musl-math-sys", optional = true }
|
||||
paste = "1.0.15"
|
||||
rand = "0.9.1"
|
||||
rand = "0.9.2"
|
||||
rand_chacha = "0.9.0"
|
||||
rayon = "1.10.0"
|
||||
rug = { version = "1.27.0", optional = true, default-features = false, features = ["float", "integer", "std"] }
|
||||
rayon = "1.11.0"
|
||||
rug = { version = "1.28.1", optional = true, default-features = false, features = ["float", "integer", "std"] }
|
||||
|
||||
[target.'cfg(target_family = "wasm")'.dependencies]
|
||||
getrandom = { version = "0.3.3", features = ["wasm_js"] }
|
||||
getrandom = { version = "0.3.4", features = ["wasm_js"] }
|
||||
|
||||
[build-dependencies]
|
||||
rand = { version = "0.9.1", optional = true }
|
||||
rand = { version = "0.9.2", optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
criterion = { version = "0.6.0", default-features = false, features = ["cargo_bench_support"] }
|
||||
|
|
|
|||
|
|
@ -498,7 +498,7 @@ fn int_float_common<F1: Float, F2: Float>(
|
|||
if input.0 > 4000 {
|
||||
return XFAIL_NOCHECK;
|
||||
} else if input.0 > 100 {
|
||||
return CheckAction::AssertWithUlp(1_000_000);
|
||||
return CheckAction::AssertWithUlp(2_000_000);
|
||||
}
|
||||
}
|
||||
DEFAULT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue