mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-04-29 04:17:56 +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:
@@ -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