-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: introduce candid-extractor for candid export #424
Conversation
Interesting idea! There are two approaches to solve the double compilation problem with different pros and cons:
For 1), we need a special wasmtime ( |
This is a intermediate stage of candid exporting epic. The As this will be built into |
Co-authored-by: Adam Spofford <[email protected]>
Description
SDK-1227
Rework the "Candid Export" support introduced in v0.10.
The new version needs no crate features in
ic0
andic-cdk-macros
anymore.And the canister can still invoke
ic_cdk::export_candid!()
at the end of source code.Then
candid-extractor
can extract candid from the canister WASM (the same WASM module to be deployed on IC).How Has This Been Tested?
Examples end-to-end tests.
Checklist: