Skip to content

Commit 20469fd

Browse files
committed
force libm <=0.2.11 as 0.2.12 has breaking changes
1 parent 6bbbfe4 commit 20469fd

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

Cargo.lock

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+2
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ tracing-subscriber = { version = "0.3.3", features = ["env-filter", "json"] }
5252
# External dependencies that need to be mentioned more than once.
5353
num-traits = { version = "0.2.15", default-features = false }
5454
glam = { version = ">=0.22, <=0.30", default-features = false }
55+
# libm 0.2.12 is a breaking change with new intrinsics
56+
libm = { version = ">=0.2.5, <=0.2.11", default-features = false }
5557

5658
# Enable incremental by default in release mode.
5759
[profile.release]

crates/spirv-std/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ bytemuck = { version = "1.18.0", features = ["derive"], optional = true }
1919
[target.'cfg(target_arch = "spirv")'.dependencies]
2020
num-traits = { workspace = true, features = ["libm"] }
2121
glam = { workspace = true, features = ["libm"] }
22+
libm = { workspace = true }
2223

2324
[target.'cfg(not(target_arch = "spirv"))'.dependencies]
2425
num-traits = { workspace = true, default-features = true }

0 commit comments

Comments
 (0)