roc/Cargo.toml

78 lines
1.8 KiB
TOML
Raw Normal View History

[workspace]
members = [
2021-08-03 05:17:13 +03:00
"compiler/ident",
"compiler/region",
"compiler/collections",
"compiler/exhaustive",
"compiler/module",
"compiler/parse",
"compiler/can",
"compiler/problem",
"compiler/types",
"compiler/builtins",
"compiler/constrain",
"compiler/unify",
"compiler/solve",
2020-03-07 02:14:23 +03:00
"compiler/fmt",
2020-03-07 02:15:06 +03:00
"compiler/mono",
"compiler/alias_analysis",
2021-05-30 19:09:41 +03:00
"compiler/test_mono",
2020-03-07 02:15:23 +03:00
"compiler/load",
2022-03-23 17:18:22 +03:00
"compiler/load_internal",
"compiler/gen_llvm",
"compiler/gen_dev",
2021-09-05 15:07:37 +03:00
"compiler/gen_wasm",
2020-05-14 00:03:50 +03:00
"compiler/build",
2020-08-01 22:42:03 +03:00
"compiler/arena_pool",
2021-03-01 16:59:27 +03:00
"compiler/test_gen",
2022-01-27 01:33:02 +03:00
"compiler/roc_target",
"compiler/debug_flags",
"vendor/ena",
2021-05-29 22:46:33 +03:00
"vendor/inkwell",
2020-03-31 02:31:42 +03:00
"vendor/pathfinding",
2020-04-04 02:40:17 +03:00
"vendor/pretty",
2022-03-26 21:11:02 +03:00
"bindgen",
2020-08-03 05:04:31 +03:00
"editor",
"ast",
2020-09-14 05:35:28 +03:00
"cli",
"code_markup",
"highlight",
"error_macros",
2021-11-16 21:22:43 +03:00
"reporting",
"repl_cli",
"repl_eval",
"repl_test",
"repl_wasm",
2021-12-01 04:48:24 +03:00
"test_utils",
"utils",
"docs",
2022-05-09 04:59:57 +03:00
"docs_cli",
2021-08-17 06:06:44 +03:00
"linker",
2022-05-03 21:23:16 +03:00
"wasi-libc-sys",
]
exclude = [
"ci/bench-runner",
# Ignore building these normally. They are only imported by tests.
# The tests will still correctly build them.
"cli_utils",
"compiler/test_mono_macros",
2022-03-26 21:11:02 +03:00
# `cargo build` would cause roc_std to be built with default features which errors on windows
"roc_std",
]
# Needed to be able to run `cargo run -p roc_cli --no-default-features` -
# see www/build.sh for more.
#
# Without the `-p` flag, cargo ignores `--no-default-features` when you have a
# workspace, and without `resolver = "2"` here, you can't use `-p` like this.
resolver = "2"
2020-03-31 02:31:42 +03:00
2020-04-02 04:16:14 +03:00
# Optimizations based on https://deterministic.space/high-performance-rust.html
[profile.release]
lto = "thin"
2020-04-02 04:16:14 +03:00
codegen-units = 1
2021-01-16 21:33:23 +03:00
# debug = true # enable when profiling
[profile.bench]
lto = "thin"
codegen-units = 1