Skip to content

Commit

Permalink
Cargo: edited compiler options for better performance
Browse files Browse the repository at this point in the history
  • Loading branch information
Amjad50 committed Nov 7, 2020
1 parent e019242 commit 35b6775
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,20 @@ members = [
"nes_ui_base",
"ppu2c02",
]

[profile.dev]
opt-level = 2
debug = true
rpath = false
lto = false
debug-assertions = true
codegen-units = 16

[profile.release]
opt-level = 3
debug = false
rpath = false
lto = true
debug-assertions = false
codegen-units = 1

0 comments on commit 35b6775

Please sign in to comment.