mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-06-12 16:21:05 +00:00
update and fix the linker (#140)
This commit is contained in:
@@ -1163,7 +1163,7 @@ where
|
||||
self.name.as_str(),
|
||||
function_type,
|
||||
output_size,
|
||||
Some(inkwell::module::Linkage::Private),
|
||||
Some(inkwell::module::Linkage::External),
|
||||
)?;
|
||||
function
|
||||
.borrow_mut()
|
||||
|
||||
@@ -211,7 +211,7 @@ where
|
||||
self.identifier.as_str(),
|
||||
function_type,
|
||||
self.result.len(),
|
||||
Some(inkwell::module::Linkage::Private),
|
||||
Some(inkwell::module::Linkage::External),
|
||||
)?;
|
||||
revive_llvm_context::PolkaVMFunction::set_attributes(
|
||||
context.llvm(),
|
||||
|
||||
Reference in New Issue
Block a user