Skip to content

Commit 8794d07

Browse files
committed
Avoid trailing / in git path for Wasmtime
Git seems to not be able to handle it in some cases. Thanks to @vramana for reporting this on Zulip.
1 parent fea01cf commit 8794d07

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ crate-type = ["dylib"]
99

1010
[dependencies]
1111
# These have to be in sync with each other
12-
cranelift-codegen = { git = "https://github.com/bytecodealliance/wasmtime/", branch = "main", features = ["unwind"] }
13-
cranelift-frontend = { git = "https://github.com/bytecodealliance/wasmtime/", branch = "main" }
14-
cranelift-module = { git = "https://github.com/bytecodealliance/wasmtime/", branch = "main" }
15-
cranelift-native = { git = "https://github.com/bytecodealliance/wasmtime/", branch = "main" }
16-
cranelift-jit = { git = "https://github.com/bytecodealliance/wasmtime/", branch = "main", optional = true }
17-
cranelift-object = { git = "https://github.com/bytecodealliance/wasmtime/", branch = "main" }
12+
cranelift-codegen = { git = "https://github.com/bytecodealliance/wasmtime.git", branch = "main", features = ["unwind"] }
13+
cranelift-frontend = { git = "https://github.com/bytecodealliance/wasmtime.git", branch = "main" }
14+
cranelift-module = { git = "https://github.com/bytecodealliance/wasmtime.git", branch = "main" }
15+
cranelift-native = { git = "https://github.com/bytecodealliance/wasmtime.git", branch = "main" }
16+
cranelift-jit = { git = "https://github.com/bytecodealliance/wasmtime.git", branch = "main", optional = true }
17+
cranelift-object = { git = "https://github.com/bytecodealliance/wasmtime.git", branch = "main" }
1818
target-lexicon = "0.12.0"
1919
gimli = { version = "0.23.0", default-features = false, features = ["write"]}
2020
object = { version = "0.23.0", default-features = false, features = ["std", "read_core", "write", "archive", "coff", "elf", "macho", "pe"] }
@@ -25,7 +25,7 @@ libloading = { version = "0.6.0", optional = true }
2525
smallvec = "1.6.1"
2626

2727
# Uncomment to use local checkout of cranelift
28-
#[patch."https://github.com/bytecodealliance/wasmtime/"]
28+
#[patch."https://github.com/bytecodealliance/wasmtime.git"]
2929
#cranelift-codegen = { path = "../wasmtime/cranelift/codegen" }
3030
#cranelift-frontend = { path = "../wasmtime/cranelift/frontend" }
3131
#cranelift-module = { path = "../wasmtime/cranelift/module" }

0 commit comments

Comments
 (0)