Skip to content

Commit 02d63c4

Browse files
authored
Fix windows builds on 1.64 stable and nightlies (#138)
Signed-off-by: pinkforest <36498018+pinkforest@users.noreply.github.com> Signed-off-by: pinkforest <36498018+pinkforest@users.noreply.github.com>
1 parent 1f38e99 commit 02d63c4

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

Cargo.lock

Lines changed: 3 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,13 @@ members = [
7979
"crates/lunatic-wasi-api",
8080
"crates/lunatic-registry-api",
8181
"crates/lunatic-distributed-api",
82-
]
82+
]
83+
84+
##########################################################
85+
# This is required until wasmtime is bumped to ^1
86+
# https://github.com/bytecodealliance/wasmtime/issues/4936
87+
# Tracking: https://github.com/lunatic-solutions/lunatic/issues/136
88+
[patch.crates-io]
89+
cap-std = { git = "https://github.com/bytecodealliance/cap-std.git", branch = "0.26-with-a-0.25.2-version-number" }
90+
cap-primitives = { git = "https://github.com/bytecodealliance/cap-std.git", branch = "0.26-with-a-0.25.2-version-number" }
91+
cap-fs-ext = { git = "https://github.com/bytecodealliance/cap-std.git", branch = "0.26-with-a-0.25.2-version-number" }

0 commit comments

Comments
 (0)