mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 01:16:18 +04:00
b2e83f81e1
This will allow testing more of the code base, as well as enable UI- specific testing. Debug mode builds are prohibitively slow for the tests, mostly because of the concurrency write tests. So there is now a profile for integration tests that sets the optimization level to 2 for a few helix crates, and lowers the number of rounds of concurrent writes to 1000.
34 lines
513 B
TOML
34 lines
513 B
TOML
[workspace]
|
|
members = [
|
|
"helix-core",
|
|
"helix-view",
|
|
"helix-term",
|
|
"helix-tui",
|
|
"helix-lsp",
|
|
"helix-dap",
|
|
"helix-loader",
|
|
"helix-vcs",
|
|
"xtask",
|
|
]
|
|
|
|
default-members = [
|
|
"helix-term"
|
|
]
|
|
|
|
[profile.release]
|
|
lto = "thin"
|
|
# debug = true
|
|
|
|
[profile.opt]
|
|
inherits = "release"
|
|
lto = "fat"
|
|
codegen-units = 1
|
|
# strip = "debuginfo" # TODO: or strip = true
|
|
opt-level = 3
|
|
|
|
[profile.integration]
|
|
inherits = "test"
|
|
package.helix-core.opt-level = 2
|
|
package.helix-tui.opt-level = 2
|
|
package.helix-term.opt-level = 2
|