mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-11 16:51:53 +03:00
48 lines
1.5 KiB
TOML
48 lines
1.5 KiB
TOML
[package]
|
|
name = "roc_build"
|
|
version = "0.1.0"
|
|
authors = ["The Roc Contributors"]
|
|
license = "UPL-1.0"
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
roc_collections = { path = "../collections" }
|
|
roc_can = { path = "../can" }
|
|
roc_parse = { path = "../parse" }
|
|
roc_region = { path = "../region" }
|
|
roc_module = { path = "../module" }
|
|
roc_problem = { path = "../problem" }
|
|
roc_types = { path = "../types" }
|
|
roc_builtins = { path = "../builtins" }
|
|
roc_constrain = { path = "../constrain" }
|
|
roc_unify = { path = "../unify" }
|
|
roc_solve = { path = "../solve" }
|
|
roc_mono = { path = "../mono" }
|
|
roc_load = { path = "../load" }
|
|
roc_target = { path = "../roc_target" }
|
|
roc_gen_llvm = { path = "../gen_llvm", optional = true }
|
|
roc_gen_wasm = { path = "../gen_wasm", optional = true }
|
|
roc_gen_dev = { path = "../gen_dev", default-features = false }
|
|
roc_reporting = { path = "../../reporting" }
|
|
roc_std = { path = "../../roc_std" }
|
|
bumpalo = { version = "3.8.0", features = ["collections"] }
|
|
libloading = "0.7.1"
|
|
tempfile = "3.2.0"
|
|
inkwell = { path = "../../vendor/inkwell", optional = true }
|
|
target-lexicon = "0.12.2"
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
serde_json = "1.0.69"
|
|
|
|
[features]
|
|
default = ["llvm", "target-aarch64", "target-x86_64", "target-wasm32"]
|
|
target-arm = []
|
|
target-aarch64 = ["roc_gen_dev/target-aarch64"]
|
|
target-x86 = []
|
|
target-x86_64 = ["roc_gen_dev/target-x86_64"]
|
|
target-wasm32 = ["roc_gen_wasm"]
|
|
|
|
# This is a separate feature because when we generate docs on Netlify,
|
|
# it doesn't have LLVM installed. (Also, it doesn't need to do code gen.)
|
|
llvm = ["inkwell", "roc_gen_llvm"]
|