2020-05-14 00:03:50 +03:00
|
|
|
[package]
|
|
|
|
name = "roc_build"
|
|
|
|
version = "0.1.0"
|
2021-04-10 15:07:38 +03:00
|
|
|
authors = ["The Roc Contributors"]
|
2021-04-15 06:26:14 +03:00
|
|
|
license = "UPL-1.0"
|
2021-04-10 15:07:38 +03:00
|
|
|
edition = "2018"
|
2020-05-14 00:03:50 +03:00
|
|
|
|
|
|
|
[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" }
|
2022-01-27 01:33:02 +03:00
|
|
|
roc_target = { path = "../roc_target" }
|
2021-06-06 14:51:18 +03:00
|
|
|
roc_gen_llvm = { path = "../gen_llvm", optional = true }
|
2021-11-05 07:48:04 +03:00
|
|
|
roc_gen_wasm = { path = "../gen_wasm", optional = true }
|
2021-11-06 05:19:37 +03:00
|
|
|
roc_gen_dev = { path = "../gen_dev", default-features = false }
|
2021-11-16 21:22:43 +03:00
|
|
|
roc_reporting = { path = "../../reporting" }
|
2022-03-30 04:20:29 +03:00
|
|
|
roc_error_macros = { path = "../../error_macros" }
|
2022-02-26 07:10:36 +03:00
|
|
|
roc_std = { path = "../../roc_std", default-features = false }
|
2021-11-06 23:24:45 +03:00
|
|
|
bumpalo = { version = "3.8.0", features = ["collections"] }
|
|
|
|
libloading = "0.7.1"
|
|
|
|
tempfile = "3.2.0"
|
2021-06-06 07:17:42 +03:00
|
|
|
inkwell = { path = "../../vendor/inkwell", optional = true }
|
2022-04-24 03:51:57 +03:00
|
|
|
target-lexicon = "0.12.3"
|
2022-05-05 00:33:07 +03:00
|
|
|
wasi_libc_sys = { path = "../../wasi-libc-sys" }
|
2020-05-14 00:03:50 +03:00
|
|
|
|
2021-11-07 00:08:19 +03:00
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
|
|
serde_json = "1.0.69"
|
|
|
|
|
2020-12-02 06:08:04 +03:00
|
|
|
[features]
|
|
|
|
target-arm = []
|
2021-11-05 07:48:04 +03:00
|
|
|
target-aarch64 = ["roc_gen_dev/target-aarch64"]
|
|
|
|
target-x86 = []
|
|
|
|
target-x86_64 = ["roc_gen_dev/target-x86_64"]
|
2022-05-05 00:33:07 +03:00
|
|
|
target-wasm32 = ["roc_gen_wasm"]
|
2021-11-05 07:48:04 +03:00
|
|
|
|
2021-06-06 07:17:42 +03:00
|
|
|
# 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.)
|
2021-06-06 14:51:18 +03:00
|
|
|
llvm = ["inkwell", "roc_gen_llvm"]
|