Skip to content

Commit

Permalink
fix: only export candid tmp interface when targetting wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
ozwaldorf committed Sep 1, 2022
1 parent 27cfbe7 commit 4b7e64e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ic-kit-macros/src/export_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ pub fn export_service(input: DeriveInput, save_candid_path: Option<syn::LitStr>)
}
}

#[cfg(target_family = "wasm")]
#[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 4b7e64e

Please sign in to comment.