mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-11 16:51:53 +03:00
74 lines
1.7 KiB
TOML
74 lines
1.7 KiB
TOML
[workspace]
|
|
members = [
|
|
"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",
|
|
"compiler/fmt",
|
|
"compiler/mono",
|
|
"compiler/alias_analysis",
|
|
"compiler/test_mono",
|
|
"compiler/load",
|
|
"compiler/load_internal",
|
|
"compiler/gen_llvm",
|
|
"compiler/gen_dev",
|
|
"compiler/gen_wasm",
|
|
"compiler/build",
|
|
"compiler/arena_pool",
|
|
"compiler/test_gen",
|
|
"compiler/roc_target",
|
|
"vendor/ena",
|
|
"vendor/inkwell",
|
|
"vendor/pathfinding",
|
|
"vendor/pretty",
|
|
"editor",
|
|
"ast",
|
|
"cli",
|
|
"code_markup",
|
|
"highlight",
|
|
"error_macros",
|
|
"reporting",
|
|
"repl_cli",
|
|
"repl_eval",
|
|
"repl_test",
|
|
"repl_wasm",
|
|
"test_utils",
|
|
"utils",
|
|
"docs",
|
|
"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",
|
|
# `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"
|
|
|
|
# Optimizations based on https://deterministic.space/high-performance-rust.html
|
|
[profile.release]
|
|
lto = "thin"
|
|
codegen-units = 1
|
|
|
|
# debug = true # enable when profiling
|
|
[profile.bench]
|
|
lto = "thin"
|
|
codegen-units = 1
|