From b42533ccd35aff1b6c0f6a5e22b7857003da5ce0 Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Thu, 20 Jun 2024 22:13:28 +0300 Subject: [PATCH] Add new runtime imports --- utils/wasm-proc/src/main.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/utils/wasm-proc/src/main.rs b/utils/wasm-proc/src/main.rs index 0cb28647689..ec899776a51 100644 --- a/utils/wasm-proc/src/main.rs +++ b/utils/wasm-proc/src/main.rs @@ -24,7 +24,7 @@ use gear_wasm_builder::{ use parity_wasm::elements::External; use std::{collections::HashSet, fs, path::PathBuf}; -const RT_ALLOWED_IMPORTS: [&str; 75] = [ +const RT_ALLOWED_IMPORTS: [&str; 79] = [ // From `Allocator` (substrate/primitives/io/src/lib.rs) "ext_allocator_free_version_1", "ext_allocator_malloc_version_1", @@ -113,6 +113,11 @@ const RT_ALLOWED_IMPORTS: [&str; 75] = [ // From `GearBls12_381` "ext_gear_bls_12_381_aggregate_g1_version_1", "ext_gear_bls_12_381_map_to_g2affine_version_1", + // From `GearTasks` + "ext_gear_tasks_reinit_version_1", + "ext_gear_tasks_check_context_version_1", + "ext_gear_tasks_spawn_version_1", + "ext_gear_tasks_join_version_1", ]; #[derive(Debug, clap::Parser)]