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:
xermicus
2025-11-21 15:34:21 +01:00
committed by GitHub
parent 975b610d9f
commit d97d094a8a
3 changed files with 279 additions and 264 deletions
+6 -2
View File
@@ -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))
}