Skip to content

Commit

Permalink
chore: improve iterative build times
Browse files Browse the repository at this point in the history
see this rust-analyzer configuration: rust-lang/rust-analyzer#6007 (comment)
  • Loading branch information
mosure committed Jun 29, 2024
1 parent 0036f6c commit df4218c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,16 @@ default-run = "viewer"
[features]
default = [
"asset_pipeline",
"development",
"viewer",
]

asset_pipeline = [
"bevy/multi-threaded",
]

development = ["bevy/dynamic_linking"]

perftest = []

viewer = [
Expand Down Expand Up @@ -117,6 +120,7 @@ opt-level = 3

[profile.dev]
opt-level = 1
incremental = true

[profile.release]
lto = "thin"
Expand Down

0 comments on commit df4218c

Please sign in to comment.