Skip to content
You are reading v0.1, which is not the current release. Go to v0.4.

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.

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::net sockets;
  • 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.

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