diff --git a/Cargo.toml b/Cargo.toml index ea6c4a9..e67c4ec 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,9 @@ +[profile.release] +lto = true +codegen-units = 1 + [workspace] resolver = "2" - members = [ "chip8_tui", "chip8_core", diff --git a/chip8_tui/Cargo.toml b/chip8_tui/Cargo.toml index 0c3f6f8..7952b0d 100644 --- a/chip8_tui/Cargo.toml +++ b/chip8_tui/Cargo.toml @@ -3,10 +3,6 @@ name = "chip8_tui" version = "0.1.0" edition = "2021" -[profile.release] -lto = true -codegen-units = 1 - [dependencies] emulator = { path = "../chip8_core" } clap = { version = "4.5.26", features = ["derive"] }