Skip to content

Commit 50e4d47

Browse files
authored
update Rust dependencies (#456)
Signed-off-by: xermicus <cyrill@parity.io>
1 parent 7cc001d commit 50e4d47

File tree

4 files changed

+71
-44
lines changed

4 files changed

+71
-44
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ alloy-genesis = "1.1.2"
5959
alloy-serde = "1.1"
6060
env_logger = { version = "0.11.8", default-features = false }
6161
serde_stacker = "0.1.14"
62-
criterion = { version = "0.7", features = ["html_reports"] }
62+
criterion = { version = "0.8", features = ["html_reports"] }
6363
log = { version = "0.4.28" }
6464
git2 = { version = "0.20.2", default-features = false }
6565
downloader = "0.2.8"
@@ -79,7 +79,7 @@ polkadot-sdk = { version = "=2507.4.0" }
7979

8080
# llvm
8181
[workspace.dependencies.inkwell]
82-
version = "0.6.0"
82+
version = "0.8.0"
8383
default-features = false
8484
features = ["serde", "llvm18-1", "no-libffi-linking", "target-riscv"]
8585

crates/llvm-context/src/polkavm/context/mod.rs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -838,8 +838,7 @@ impl<'ctx> Context<'ctx> {
838838
.builder()
839839
.build_call(intrinsic, &[value.into()], "call_byte_swap")?
840840
.try_as_basic_value()
841-
.left()
842-
.unwrap())
841+
.unwrap_basic())
843842
}
844843

845844
/// Builds a GEP instruction.
@@ -912,7 +911,7 @@ impl<'ctx> Context<'ctx> {
912911
)
913912
.unwrap()
914913
.try_as_basic_value()
915-
.left()
914+
.basic()
916915
}
917916

918917
/// Builds a call to the runtime API `import`, where `import` is a "getter" API.
@@ -950,7 +949,7 @@ impl<'ctx> Context<'ctx> {
950949
)
951950
.unwrap();
952951
self.modify_call_site_value(arguments, call_site_value, function);
953-
call_site_value.try_as_basic_value().left()
952+
call_site_value.try_as_basic_value().basic()
954953
}
955954

956955
/// Sets the alignment to `1`, since all non-stack memory pages have such alignment.
@@ -1104,7 +1103,7 @@ impl<'ctx> Context<'ctx> {
11041103

11051104
Ok(call_site_value
11061105
.try_as_basic_value()
1107-
.left()
1106+
.basic()
11081107
.unwrap_or_else(|| {
11091108
panic!(
11101109
"revive runtime function {} should return a value",

crates/llvm-context/src/polkavm/evm/bitwise.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,6 @@ pub fn count_leading_zeros<'ctx>(
275275
"clz",
276276
)?
277277
.try_as_basic_value()
278-
.left()
278+
.basic()
279279
.expect("the llvm.ctlz should return a value"))
280280
}

0 commit comments

Comments
 (0)