Skip to content

Commit 9fee303

Browse files
Add workaround for resolver = 2
1 parent abf0a3d commit 9fee303

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ This project adheres to Semantic Versioning.
1717

1818
### Fixed
1919

20+
* Tetra no longer fails to compile when built in a project with `edition = "2021"` or `resolver = "2"` in the Cargo.toml.
2021
* The `Display` implementation for `TetraError` now includes extra details for errors that don't have a `source`.
2122
* Games will no longer fail to start on platforms that do not support setting vsync on or off.
2223

Cargo.toml

+3
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ bytemuck = "1.5.0"
2525
num-traits = "0.2.14"
2626
lyon_tessellation = "0.17.4"
2727

28+
# Workaround for https://github.com/17cupsofcoffee/tetra/issues/294
29+
winapi = { version = "0.3", features = ["errhandlingapi"] }
30+
2831
[dev-dependencies]
2932
rand = "0.8.0"
3033
anyhow = "1.0.33"

0 commit comments

Comments
 (0)