Skip to content

Commit

Permalink
Remove optimizations for dev builds (#404)
Browse files Browse the repository at this point in the history
  • Loading branch information
kralverde authored Dec 21, 2024
1 parent cc0f308 commit 55e8cd6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ members = [
version = "0.1.0"
edition = "2021"

[profile.dev.package."*"]
opt-level = 3

[profile.dev]
opt-level = 1
Expand Down
2 changes: 1 addition & 1 deletion pumpkin-world/src/level.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl Level {
}
} else {
let seed = get_or_create_seed();
let world_gen = get_world_gen(seed).into(); // TODO Read Seed from config.
let world_gen = get_world_gen(seed).into();
Self {
seed,
world_gen,
Expand Down

0 comments on commit 55e8cd6

Please sign in to comment.