Skip to content

Commit

Permalink
the kit-wasm-export feature should be present to export function for …
Browse files Browse the repository at this point in the history
…WASM

this allows a canister to import another canister as crate without re-implementing that canister
  • Loading branch information
qti3e committed Sep 3, 2022
1 parent 62fe673 commit 5d2052e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ic-kit-macros/src/export_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ pub fn export_service(input: DeriveInput, save_candid_path: Option<syn::LitStr>)
}
}

#[cfg(target_family = "wasm")]
#[cfg(feature="kit-wasm-export")]
#[doc(hidden)]
#[export_name = "canister_query __get_candid_interface_tmp_hack"]
fn _ic_kit_canister_query___get_candid_interface_tmp_hack() {
Expand Down

0 comments on commit 5d2052e

Please sign in to comment.