From dd814a76bef5a29310a0863b7a42b1f7e7a42846 Mon Sep 17 00:00:00 2001 From: Joinhack Date: Mon, 2 Dec 2024 07:33:30 +0800 Subject: [PATCH] bls extension for multi-thread. --- blockless/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blockless/src/lib.rs b/blockless/src/lib.rs index a252faf..e6a97f0 100644 --- a/blockless/src/lib.rs +++ b/blockless/src/lib.rs @@ -332,7 +332,7 @@ impl BlocklessRunner { // prepare linker. match linker { BlsLinker::Core(ref mut linker) => { - Self::preview1_linker_setup(linker, support_thread); + Self::preview1_linker_setup(linker); } BlsLinker::Component(ref mut linker) => { wasmtime_wasi::add_to_linker_async(linker)?; @@ -552,7 +552,7 @@ impl BlocklessRunner { }) } - fn preview1_linker_setup(linker: &mut Linker, support_thread: bool) { + fn preview1_linker_setup(linker: &mut Linker) { // define the macro of extends. macro_rules! add_to_linker { ($method:expr) => {