mirror of
https://github.com/lune-org/lune.git
synced 2025-05-04 10:43:57 +01:00
chore: include custom dev build profile
This commit is contained in:
parent
603cc10b42
commit
c5f1b40bde
1 changed files with 28 additions and 0 deletions
28
Cargo.toml
28
Cargo.toml
|
@ -53,6 +53,34 @@ opt-level = "z"
|
||||||
strip = true
|
strip = true
|
||||||
lto = true
|
lto = true
|
||||||
|
|
||||||
|
|
||||||
|
# Profile for building the dev binary, with the following options set:
|
||||||
|
#
|
||||||
|
# 1. Disables link time optimization to speed up builds
|
||||||
|
# 2. Does not strip the binary to reduce size
|
||||||
|
# 3. Increases the codegen units to reduce
|
||||||
|
# time taken for compilation, allowing LLVM to
|
||||||
|
# process the units in parallel
|
||||||
|
# 4. Unwind panic to avoid breaking Lune APIs
|
||||||
|
# 5. Disables any optimizations
|
||||||
|
# 6. Incremental build to improve compile times
|
||||||
|
# 7. Allows for overflow checks explicitly
|
||||||
|
# 8. Allows for debug assertions
|
||||||
|
# 9. Disables hardcoded runtime search paths for
|
||||||
|
# linked libraries
|
||||||
|
#
|
||||||
|
[profile.dev]
|
||||||
|
lto = "off"
|
||||||
|
strip = "none"
|
||||||
|
codegen-units = 256
|
||||||
|
panic = "unwind"
|
||||||
|
opt-level = 0
|
||||||
|
incremental = true
|
||||||
|
overflow-checks = true
|
||||||
|
debug-assertions = true
|
||||||
|
debug = true
|
||||||
|
rpath = false
|
||||||
|
|
||||||
# All of the dependencies for Lune.
|
# All of the dependencies for Lune.
|
||||||
#
|
#
|
||||||
# Dependencies are categorized as following:
|
# Dependencies are categorized as following:
|
||||||
|
|
Loading…
Add table
Reference in a new issue