update 64bit target flags (#113)

This commit is contained in:
Cyrill Leutwiler
2024-11-14 16:29:21 +07:00
committed by GitHub
parent 4cce4a729e
commit f947984671
4 changed files with 41 additions and 10 deletions
+6 -1
View File
@@ -15,7 +15,12 @@ doctest = false
[features]
riscv-zbb = []
riscv-64 = []
riscv-64 = [
"revive-linker/riscv-64",
"revive-builtins/riscv-64",
"revive-runtime-api/riscv-64",
"revive-common/riscv-64",
]
[dependencies]
anyhow = { workspace = true }
@@ -138,7 +138,7 @@ where
for import in revive_runtime_api::polkavm_imports::IMPORTS {
module
.get_function(import)
.expect("should be declared")
.unwrap_or_else(|| panic!("{import} import should be declared"))
.set_linkage(inkwell::module::Linkage::External);
}
}