roc/Cargo.toml

69 lines
1.5 KiB
TOML
Raw Normal View History

[workspace]
members = [
2021-08-03 05:17:13 +03:00
"compiler/ident",
"compiler/region",
"compiler/collections",
"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",
2021-05-30 19:09:41 +03:00
"compiler/test_mono",
2020-03-07 02:15:23 +03:00
"compiler/load",
"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",
"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",
2020-08-03 05:04:31 +03:00
"editor",
"ast",
2020-09-14 05:35:28 +03:00
"cli",
"code_markup",
"error_macros",
2021-11-16 21:22:43 +03:00
"reporting",
"repl_cli",
"repl_eval",
"repl_test",
"repl_wasm",
2020-09-30 16:01:16 +03:00
"roc_std",
2021-12-01 04:48:24 +03:00
"test_utils",
"utils",
"docs",
2021-08-17 06:06:44 +03:00
"linker",
]
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",
]
# 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