Utility build scripts and more optimization
This commit is contained in:
parent
1ba784960c
commit
5a24a885b6
2 changed files with 24 additions and 0 deletions
11
Cargo.toml
11
Cargo.toml
|
@ -8,9 +8,20 @@ resolver = "2"
|
||||||
strip = "symbols"
|
strip = "symbols"
|
||||||
lto = "thin"
|
lto = "thin"
|
||||||
opt-level = 3
|
opt-level = 3
|
||||||
|
codegen-units = 1
|
||||||
|
|
||||||
[profile.dev.package."*"]
|
[profile.dev.package."*"]
|
||||||
opt-level = 3
|
opt-level = 3
|
||||||
|
codegen-units = 1
|
||||||
|
[profile.release.package."*"]
|
||||||
|
opt-level = 3
|
||||||
|
codegen-units = 1
|
||||||
|
[profile.dev.build-override]
|
||||||
|
opt-level = 3
|
||||||
|
codegen-units = 1
|
||||||
|
[profile.release.build-override]
|
||||||
|
opt-level = 3
|
||||||
|
codegen-units = 1
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
# bevy/trace_chrome for tracing by function
|
# bevy/trace_chrome for tracing by function
|
||||||
|
|
13
build_all.sh.ps1
Executable file
13
build_all.sh.ps1
Executable file
|
@ -0,0 +1,13 @@
|
||||||
|
#!/bin/env /bin/sh
|
||||||
|
cargo build --no-default-features --features= &&
|
||||||
|
cargo build --no-default-features --features=logging &&
|
||||||
|
cargo build --no-default-features --features=render &&
|
||||||
|
cargo build --no-default-features --features=logging,render &&
|
||||||
|
cargo build --no-default-features --features=globe_view &&
|
||||||
|
cargo build --no-default-features --features=logging,globe_view &&
|
||||||
|
cargo build --release --no-default-features --features= &&
|
||||||
|
cargo build --release --no-default-features --features=logging &&
|
||||||
|
cargo build --release --no-default-features --features=render &&
|
||||||
|
cargo build --release --no-default-features --features=logging,render &&
|
||||||
|
cargo build --release --no-default-features --features=globe_view &&
|
||||||
|
cargo build --release --no-default-features --features=logging,globe_view
|
Loading…
Reference in a new issue