fix: bump svm-rs to fix race condition on same version installs of solc

This commit is contained in:
Georgios Konstantopoulos 2022-02-09 17:57:46 +02:00
parent 3fa6653471
commit c82597c908
2 changed files with 5 additions and 4 deletions

6
Cargo.lock generated
View File

@ -3536,8 +3536,9 @@ checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601"
[[package]]
name = "svm-rs"
version = "0.2.4"
source = "git+https://github.com/roynalnaruto/svm-rs#2743d57be023d36867275ddcf942026e6d8769c2"
version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "01ebb94785ad8eecc53c119257322f72afd3e3ab5016e74b2b2b143449107135"
dependencies = [
"anyhow",
"cfg-if 1.0.0",
@ -3558,6 +3559,7 @@ dependencies = [
"tempfile",
"thiserror",
"tokio",
"tracing",
"url",
]

View File

@ -41,8 +41,7 @@ rayon = "1.5.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
home = "0.5.3"
# SVM is not WASM compatible yet.
# svm = { package = "svm-rs", default-features = false, version = "0.2.1", optional = true }
svm = { package = "svm-rs", git = "https://github.com/roynalnaruto/svm-rs", default-features = false, optional = true }
svm = { package = "svm-rs", default-features = false, version = "0.2.6", optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
# NOTE: this enables wasm compatibility for getrandom indirectly