mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-09-24 10:20:50 +02:00
build: improve speed
This commit is contained in:
Vendored
+1
@@ -37,6 +37,7 @@
|
|||||||
"datas",
|
"datas",
|
||||||
"DBAPI",
|
"DBAPI",
|
||||||
"dconf",
|
"dconf",
|
||||||
|
"debuginfo",
|
||||||
"devedition",
|
"devedition",
|
||||||
"distro",
|
"distro",
|
||||||
"doctest",
|
"doctest",
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
[build]
|
||||||
|
# Omit jobs setting to use all cores
|
||||||
|
|
||||||
|
incremental = true
|
||||||
@@ -105,6 +105,25 @@ futures-util = "0.3"
|
|||||||
name = "donut_proxy_integration"
|
name = "donut_proxy_integration"
|
||||||
path = "tests/donut_proxy_integration.rs"
|
path = "tests/donut_proxy_integration.rs"
|
||||||
|
|
||||||
|
[profile.dev]
|
||||||
|
codegen-units = 256
|
||||||
|
incremental = true
|
||||||
|
opt-level = 0
|
||||||
|
# Split debuginfo on macOS for faster linking (ignored on other platforms)
|
||||||
|
split-debuginfo = "unpacked"
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
codegen-units = 1
|
||||||
|
opt-level = 3
|
||||||
|
lto = "thin"
|
||||||
|
# Split debuginfo on macOS for faster linking (ignored on other platforms)
|
||||||
|
split-debuginfo = "unpacked"
|
||||||
|
|
||||||
|
[profile.test]
|
||||||
|
# Optimize test builds for faster compilation
|
||||||
|
codegen-units = 256
|
||||||
|
incremental = true
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
# by default Tauri runs in production mode
|
# by default Tauri runs in production mode
|
||||||
# when `tauri dev` runs it is executed with `cargo run --no-default-features` if `devPath` points to the filesystem
|
# when `tauri dev` runs it is executed with `cargo run --no-default-features` if `devPath` points to the filesystem
|
||||||
|
|||||||
Reference in New Issue
Block a user