diff --git a/Cargo.toml b/Cargo.toml index abf3f0d..76038d5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,7 @@ backend_node = [] backend_llvm = ["inkwell"] # To change, use the --featues flag: -# cargo run --features backend_llvm +# cargo run --no-default-features --features backend_llvm default = ["backend_node"] [dependencies] diff --git a/docs/developers/backends.md b/docs/developers/backends.md index 1ac62c2..1b810d3 100644 --- a/docs/developers/backends.md +++ b/docs/developers/backends.md @@ -10,10 +10,10 @@ 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: +If you're working on an unstable backend, you can override the backend using the `--features --no-default-features` flag of the cargo CLI: ``` -cargo run --features backend_llvm ... +cargo run --no-default-features --features backend_llvm ... ``` ## Available Backends