From e440cdcbd1d71b026f3ba0456bd4745a7cc2f070 Mon Sep 17 00:00:00 2001 From: Garrit Franke Date: Wed, 10 Feb 2021 15:43:52 +0100 Subject: [PATCH] docs: document llvm target --- docs/developers/backends.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/developers/backends.md b/docs/developers/backends.md index 4a16fb3..1ac62c2 100644 --- a/docs/developers/backends.md +++ b/docs/developers/backends.md @@ -10,9 +10,16 @@ The backend can be specified in the `Cargo.toml` file in the root of the project default = ["backend_c"] ``` +If you're working on an unstable backend, you can override the backend using the `--features` flag of the cargo CLI: + +``` +cargo run --features backend_llvm ... +``` + ## Available Backends | Target Language | Identifier | Stability notice | | :-------------- | :------------- | :--------------- | | Node.js | `backend_node` | mostly stable | +| LLVM | `backend_llvm` | unstable | | C | `backend_c` | unstable |