Skip to content

Commit

Permalink
Downgrade wgpu-core to fix panic (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
CosmicHorrorDev authored Dec 2, 2023
1 parent 32b71c1 commit 0ce0297
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@ keywords = ["markdown", "viewer", "gpu"]
[dependencies]
wgpu_glyph = "0.21"
winit = "0.28.7"
wgpu = "0.17"
# HACK: Pinning to the exact version `=` here because 0.17.1 introduced a bug
# that can be a frequent source of panics. We can't go above 0.17.x because we
# share a `wgpu` dependency with `wgpu_glyph` who is unlikely to be updated now
# that text rendering with `cosmic-text` is a thing. This won't be a problem in
# `inlyne` v0.4, so this is only temporary anyways
wgpu-core = "=0.17.0"
wgpu = "0.17.0"
bytemuck = "1.14.0"
lyon = "1.0.1"
comrak = { version = "0.19.0", default-features = false, features = ["syntect"] }
Expand Down

0 comments on commit 0ce0297

Please sign in to comment.