mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-04-22 02:07:55 +00:00
Update the Rust dependencies (#420)
The `Cargo.lock` kept changing locally on all my hosts. Not sure why exactly - maybe it got forgotten in a recent PR. I took it as an opportunity to quickly update the Rust dependencies. --------- Signed-off-by: xermicus <bigcyrill@hotmail.com>
This commit is contained in:
Generated
+259
-248
File diff suppressed because it is too large
Load Diff
+14
-14
@@ -34,13 +34,13 @@ revive-yul = { version = "0.4.0", path = "crates/yul" }
|
||||
hex = "0.4.3"
|
||||
cc = "1.2"
|
||||
libc = "0.2.172"
|
||||
tempfile = "3.20"
|
||||
tempfile = "3.23"
|
||||
anyhow = "1.0"
|
||||
semver = { version = "1.0", features = ["serde"] }
|
||||
itertools = "0.14"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = { version = "1.0", features = ["arbitrary_precision"] }
|
||||
regex = "1.11"
|
||||
regex = "1.12"
|
||||
once_cell = "1.21"
|
||||
num = "0.4.3"
|
||||
sha1 = "0.10"
|
||||
@@ -48,20 +48,20 @@ sha3 = "0.10"
|
||||
thiserror = "2.0"
|
||||
which = "8.0"
|
||||
path-slash = "0.2"
|
||||
rayon = "1.10"
|
||||
rayon = "1.11"
|
||||
clap = { version = "4", default-features = false, features = ["derive"] }
|
||||
polkavm-common = "0.29.0"
|
||||
polkavm-linker = "0.29.0"
|
||||
polkavm-disassembler = "0.29.0"
|
||||
polkavm = "0.29.0"
|
||||
alloy-primitives = { version = "1.1", features = ["serde"] }
|
||||
alloy-sol-types = "1.1"
|
||||
alloy-genesis = "1.0.41"
|
||||
alloy-serde = "1.0"
|
||||
polkavm-common = "0.30.0"
|
||||
polkavm-linker = "0.30.0"
|
||||
polkavm-disassembler = "0.30.0"
|
||||
polkavm = "0.30.0"
|
||||
alloy-primitives = { version = "1.4", features = ["serde"] }
|
||||
alloy-sol-types = "1.4"
|
||||
alloy-genesis = "1.1.2"
|
||||
alloy-serde = "1.1"
|
||||
env_logger = { version = "0.11.8", default-features = false }
|
||||
serde_stacker = "0.1.12"
|
||||
serde_stacker = "0.1.14"
|
||||
criterion = { version = "0.7", features = ["html_reports"] }
|
||||
log = { version = "0.4.27" }
|
||||
log = { version = "0.4.28" }
|
||||
git2 = { version = "0.20.2", default-features = false }
|
||||
downloader = "0.2.8"
|
||||
flate2 = "1.1"
|
||||
@@ -71,7 +71,7 @@ tar = "0.4"
|
||||
toml = "0.9"
|
||||
assert_cmd = "2"
|
||||
assert_fs = "1.1"
|
||||
normpath = "1.3"
|
||||
normpath = "1.5"
|
||||
|
||||
# polkadot-sdk and friends
|
||||
codec = { version = "3.7.5", default-features = false, package = "parity-scale-codec" }
|
||||
|
||||
@@ -5,6 +5,10 @@ pub fn polkavm_linker<T: AsRef<[u8]>>(code: T, strip_binary: bool) -> anyhow::Re
|
||||
config.set_strip(strip_binary);
|
||||
config.set_optimize(true);
|
||||
|
||||
polkavm_linker::program_from_elf(config, code.as_ref())
|
||||
.map_err(|reason| anyhow::anyhow!("polkavm linker failed: {}", reason))
|
||||
polkavm_linker::program_from_elf(
|
||||
config,
|
||||
polkavm_linker::TargetInstructionSet::ReviveV1,
|
||||
code.as_ref(),
|
||||
)
|
||||
.map_err(|reason| anyhow::anyhow!("polkavm linker failed: {}", reason))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user