Docs / Native kernels
Native kernels
Call compiled Rust from Motoko: use published kernels, write your own, and check what you link.
| Page | What it covers |
|---|---|
| Using kernels | Opt into a package's native kernel, check what you link, and know what you're trusting. |
| Published kernels | The kernel packages the moxzi project publishes, what each provides, and the state of their review. |
| Writing a kernel | Turn a Rust crate into a native kernel for a mops package, test it against its Motoko body, and publish it. |
| Security for kernel authors | What a kernel can do to the canisters that link it, and how to write one that doesn't leak secrets. |
| Kernel ABI | The calling convention, manifest fields and linker rules for native kernels, ABI version 1. |
If you only read one page, read Using kernels.