roc/Cargo.toml

55 lines
1.3 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-06 10:06:18 +03:00
"compiler/reporting",
2020-03-07 02:14:23 +03:00
"compiler/fmt",
2020-03-07 02:15:06 +03:00
"compiler/mono",
2021-05-30 17:48:42 +03:00
"compiler/test_mono_macros",
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",
"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",
2020-09-14 05:35:28 +03:00
"cli",
"cli/cli_utils",
2020-09-30 16:01:16 +03:00
"roc_std",
"docs",
2021-08-17 06:06:44 +03:00
"linker",
]
exclude = [ "ci/bench-runner" ]
# 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