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.
This commit is contained in:
bjorn3 2021-05-07 12:58:54 +02:00
parent fea01cfaaa
commit 8794d07081
2 changed files with 17 additions and 17 deletions

20
Cargo.lock generated
View File

@ -34,7 +34,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
name = "cranelift-bforest"
version = "0.73.0"
source = "git+https://github.com/bytecodealliance/wasmtime/?branch=main#fe76c5915980208d1971b491ffed0a139dafb7f9"
source = "git+https://github.com/bytecodealliance/wasmtime.git?branch=main#fe76c5915980208d1971b491ffed0a139dafb7f9"
dependencies = [
"cranelift-entity",
]
@ -42,7 +42,7 @@ dependencies = [
[[package]]
name = "cranelift-codegen"
version = "0.73.0"
source = "git+https://github.com/bytecodealliance/wasmtime/?branch=main#fe76c5915980208d1971b491ffed0a139dafb7f9"
source = "git+https://github.com/bytecodealliance/wasmtime.git?branch=main#fe76c5915980208d1971b491ffed0a139dafb7f9"
dependencies = [
"cranelift-bforest",
"cranelift-codegen-meta",
@ -58,7 +58,7 @@ dependencies = [
[[package]]
name = "cranelift-codegen-meta"
version = "0.73.0"
source = "git+https://github.com/bytecodealliance/wasmtime/?branch=main#fe76c5915980208d1971b491ffed0a139dafb7f9"
source = "git+https://github.com/bytecodealliance/wasmtime.git?branch=main#fe76c5915980208d1971b491ffed0a139dafb7f9"
dependencies = [
"cranelift-codegen-shared",
"cranelift-entity",
@ -67,17 +67,17 @@ dependencies = [
[[package]]
name = "cranelift-codegen-shared"
version = "0.73.0"
source = "git+https://github.com/bytecodealliance/wasmtime/?branch=main#fe76c5915980208d1971b491ffed0a139dafb7f9"
source = "git+https://github.com/bytecodealliance/wasmtime.git?branch=main#fe76c5915980208d1971b491ffed0a139dafb7f9"
[[package]]
name = "cranelift-entity"
version = "0.73.0"
source = "git+https://github.com/bytecodealliance/wasmtime/?branch=main#fe76c5915980208d1971b491ffed0a139dafb7f9"
source = "git+https://github.com/bytecodealliance/wasmtime.git?branch=main#fe76c5915980208d1971b491ffed0a139dafb7f9"
[[package]]
name = "cranelift-frontend"
version = "0.73.0"
source = "git+https://github.com/bytecodealliance/wasmtime/?branch=main#fe76c5915980208d1971b491ffed0a139dafb7f9"
source = "git+https://github.com/bytecodealliance/wasmtime.git?branch=main#fe76c5915980208d1971b491ffed0a139dafb7f9"
dependencies = [
"cranelift-codegen",
"log",
@ -88,7 +88,7 @@ dependencies = [
[[package]]
name = "cranelift-jit"
version = "0.73.0"
source = "git+https://github.com/bytecodealliance/wasmtime/?branch=main#fe76c5915980208d1971b491ffed0a139dafb7f9"
source = "git+https://github.com/bytecodealliance/wasmtime.git?branch=main#fe76c5915980208d1971b491ffed0a139dafb7f9"
dependencies = [
"anyhow",
"cranelift-codegen",
@ -106,7 +106,7 @@ dependencies = [
[[package]]
name = "cranelift-module"
version = "0.73.0"
source = "git+https://github.com/bytecodealliance/wasmtime/?branch=main#fe76c5915980208d1971b491ffed0a139dafb7f9"
source = "git+https://github.com/bytecodealliance/wasmtime.git?branch=main#fe76c5915980208d1971b491ffed0a139dafb7f9"
dependencies = [
"anyhow",
"cranelift-codegen",
@ -117,7 +117,7 @@ dependencies = [
[[package]]
name = "cranelift-native"
version = "0.73.0"
source = "git+https://github.com/bytecodealliance/wasmtime/?branch=main#fe76c5915980208d1971b491ffed0a139dafb7f9"
source = "git+https://github.com/bytecodealliance/wasmtime.git?branch=main#fe76c5915980208d1971b491ffed0a139dafb7f9"
dependencies = [
"cranelift-codegen",
"target-lexicon",
@ -126,7 +126,7 @@ dependencies = [
[[package]]
name = "cranelift-object"
version = "0.73.0"
source = "git+https://github.com/bytecodealliance/wasmtime/?branch=main#fe76c5915980208d1971b491ffed0a139dafb7f9"
source = "git+https://github.com/bytecodealliance/wasmtime.git?branch=main#fe76c5915980208d1971b491ffed0a139dafb7f9"
dependencies = [
"anyhow",
"cranelift-codegen",

View File

@ -9,12 +9,12 @@ crate-type = ["dylib"]
[dependencies]
# These have to be in sync with each other
cranelift-codegen = { git = "https://github.com/bytecodealliance/wasmtime/", branch = "main", features = ["unwind"] }
cranelift-frontend = { git = "https://github.com/bytecodealliance/wasmtime/", branch = "main" }
cranelift-module = { git = "https://github.com/bytecodealliance/wasmtime/", branch = "main" }
cranelift-native = { git = "https://github.com/bytecodealliance/wasmtime/", branch = "main" }
cranelift-jit = { git = "https://github.com/bytecodealliance/wasmtime/", branch = "main", optional = true }
cranelift-object = { git = "https://github.com/bytecodealliance/wasmtime/", branch = "main" }
cranelift-codegen = { git = "https://github.com/bytecodealliance/wasmtime.git", branch = "main", features = ["unwind"] }
cranelift-frontend = { git = "https://github.com/bytecodealliance/wasmtime.git", branch = "main" }
cranelift-module = { git = "https://github.com/bytecodealliance/wasmtime.git", branch = "main" }
cranelift-native = { git = "https://github.com/bytecodealliance/wasmtime.git", branch = "main" }
cranelift-jit = { git = "https://github.com/bytecodealliance/wasmtime.git", branch = "main", optional = true }
cranelift-object = { git = "https://github.com/bytecodealliance/wasmtime.git", branch = "main" }
target-lexicon = "0.12.0"
gimli = { version = "0.23.0", default-features = false, features = ["write"]}
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 }
smallvec = "1.6.1"
# Uncomment to use local checkout of cranelift
#[patch."https://github.com/bytecodealliance/wasmtime/"]
#[patch."https://github.com/bytecodealliance/wasmtime.git"]
#cranelift-codegen = { path = "../wasmtime/cranelift/codegen" }
#cranelift-frontend = { path = "../wasmtime/cranelift/frontend" }
#cranelift-module = { path = "../wasmtime/cranelift/module" }