Skip to content

Commit

Permalink
bls extension for multi-thread.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joinhack committed Dec 1, 2024
1 parent c46158a commit dd814a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blockless/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)?;
Expand Down Expand Up @@ -552,7 +552,7 @@ impl BlocklessRunner {
})
}

fn preview1_linker_setup(linker: &mut Linker<BlocklessContext>, support_thread: bool) {
fn preview1_linker_setup(linker: &mut Linker<BlocklessContext>) {
// define the macro of extends.
macro_rules! add_to_linker {
($method:expr) => {
Expand Down

0 comments on commit dd814a7

Please sign in to comment.