Skip to content

Commit

Permalink
Add new runtime imports
Browse files Browse the repository at this point in the history
  • Loading branch information
ark0f committed Jun 20, 2024
1 parent 47949e2 commit b42533c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion utils/wasm-proc/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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)]
Expand Down

0 comments on commit b42533c

Please sign in to comment.