Cloudflare Workers
Khora does not yet advertise Cloudflare Workers as a supported deployment target.
Cloudflare Workers run WebAssembly inside a host-provided execution environment. A Khora Worker target therefore cannot reuse the native Linux runtime model unchanged: networking, request handling, persistence, clocks, and other platform facilities must be provided through Worker host capabilities rather than Unix sockets or a local filesystem.
Planned target model
Section titled “Planned target model”The intended target is wasm32-unknown-unknown with a Worker-specific standard-library/platform surface.
A Khora Worker application will need to:
- compile to WebAssembly using the supported Khora target;
- receive HTTP requests through Worker host bindings rather than
std::netsockets; - use host-provided storage and database capabilities where required;
- avoid native filesystem and process APIs that do not exist in the Worker environment;
- package the generated module and bindings in the form required by the supported deployment tooling.
When this page becomes a deployment guide
Section titled “When this page becomes a deployment guide”This page will contain copy-pasteable build and deploy commands only after the compiler, Worker bindings, runtime/platform split, packaging, and an end-to-end deployed Khora example are working together.
Until then, do not choose Cloudflare Workers for a Khora application that needs a supported production deployment path. Use one of the targets listed as supported in Supported targets.
Khora 0.1.0built frombd964738afb6on 2026-10-17 20:41ZVersioningSecurityContributingReleasesSource