Backends
Klar currently supports multiple code generation paths.
JavaScript Backend
- Crate:
klar-codegen-js - Used by default for:
klar buildklar runklar testklar bench
LLVM Backend
- Crate:
klar-codegen-llvm - Used for:
klar build --target nativeklar build --target llvm-irklar run --target native
WASM Backend
- Crate:
klar-codegen-wasm - WASM APIs exist in crate code.
- Not exposed as a top-level
klarCLI target yet.