2020-03-06 01:45:48 +03:00
|
|
|
[workspace]
|
|
|
|
members = [
|
2021-08-03 05:17:13 +03:00
|
|
|
"compiler/ident",
|
2020-03-06 01:45:48 +03:00
|
|
|
"compiler/region",
|
|
|
|
"compiler/collections",
|
|
|
|
"compiler/module",
|
2020-03-06 04:58:12 +03:00
|
|
|
"compiler/parse",
|
|
|
|
"compiler/can",
|
2020-03-06 08:06:24 +03:00
|
|
|
"compiler/problem",
|
2020-03-06 04:58:12 +03:00
|
|
|
"compiler/types",
|
2020-03-06 08:06:24 +03:00
|
|
|
"compiler/builtins",
|
|
|
|
"compiler/constrain",
|
2020-03-06 09:42:53 +03:00
|
|
|
"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",
|
2021-06-06 14:51:18 +03:00
|
|
|
"compiler/gen_llvm",
|
2020-11-15 05:43:02 +03:00
|
|
|
"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",
|
2020-03-06 04:58:12 +03:00
|
|
|
"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",
|
2021-09-22 22:02:43 +03:00
|
|
|
"ast",
|
2020-09-14 05:35:28 +03:00
|
|
|
"cli",
|
2021-09-24 21:08:49 +03:00
|
|
|
"code_markup",
|
2022-01-23 11:40:34 +03:00
|
|
|
"error_macros",
|
2021-11-16 21:22:43 +03:00
|
|
|
"reporting",
|
2022-01-30 12:04:48 +03:00
|
|
|
"repl_cli",
|
|
|
|
"repl_eval",
|
2022-02-03 02:42:21 +03:00
|
|
|
"repl_test",
|
2022-02-03 02:05:09 +03:00
|
|
|
"repl_wasm",
|
2020-09-30 16:01:16 +03:00
|
|
|
"roc_std",
|
2021-12-01 04:48:24 +03:00
|
|
|
"test_utils",
|
2021-09-24 21:08:49 +03:00
|
|
|
"utils",
|
2021-06-08 21:15:13 +03:00
|
|
|
"docs",
|
2021-08-17 06:06:44 +03:00
|
|
|
"linker",
|
2020-03-06 01:45:48 +03:00
|
|
|
]
|
2021-11-08 05:00:49 +03:00
|
|
|
exclude = [
|
|
|
|
"ci/bench-runner",
|
|
|
|
# Ignore building these normally. They are only imported by tests.
|
|
|
|
# The tests will still correctly build them.
|
2021-11-08 05:33:52 +03:00
|
|
|
"cli_utils",
|
2021-11-08 05:00:49 +03:00
|
|
|
"compiler/test_mono_macros",
|
|
|
|
]
|
2021-06-06 07:17:42 +03:00
|
|
|
# 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]
|
2021-02-20 22:06:46 +03:00
|
|
|
lto = "thin"
|
2020-04-02 04:16:14 +03:00
|
|
|
codegen-units = 1
|
2021-01-16 21:33:23 +03:00
|
|
|
|
2021-03-06 08:13:46 +03:00
|
|
|
# debug = true # enable when profiling
|
2021-02-20 22:06:46 +03:00
|
|
|
[profile.bench]
|
|
|
|
lto = "thin"
|
|
|
|
codegen-units = 1
|