Cargo Features
[dependencies]
sabre-lang = { version = "0.5.0", default-features = false, features = ["backend_c", "backend_node", "backend_llvm"] }
- backend_c
-
Affects
generator::c
,util::Either
… - backend_node default
-
Affects
generator::js
… - backend_llvm = inkwell
-
Affects
generator::llvm
… - default = backend_node
-
To change, use the --featues flag:
cargo run --no-default-features --features backend_llvm
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- inkwell backend_llvm?
-
Enables inkwell ^0.1.0-beta.2