Skip to content

Commit

Permalink
Move profile settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Leinnan committed Feb 26, 2024
1 parent 236b81d commit c01117b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
17 changes: 16 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,19 @@ members = [
"beam_common_accounts",
"beam_microservice",
"bevy_forge"
]
]

# Compile with Performance Optimizations:
# https://bevyengine.org/learn/book/getting-started/setup/#compile-with-performance-optimizations

# Enable a small amount of optimization in debug mode
[profile.dev]
opt-level = 1

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

[profile.release]
opt-level = 'z'
panic = 'abort'
lto = true
14 changes: 0 additions & 14 deletions bevy_forge/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,6 @@ version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0 OR CC0-1.0"

# Compile with Performance Optimizations:
# https://bevyengine.org/learn/book/getting-started/setup/#compile-with-performance-optimizations

# Enable a small amount of optimization in debug mode
[profile.dev]
opt-level = 1

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

[profile.release]
opt-level = 'z'
panic = 'abort'
lto = true

[dependencies]
console_error_panic_hook = "0.1"
Expand Down

0 comments on commit c01117b

Please sign in to comment.