From 9a360be045e6fbfe272b4df3fa4abdac68c28aa5 Mon Sep 17 00:00:00 2001 From: Denis Nutiu Date: Mon, 20 Jan 2025 21:42:22 +0200 Subject: [PATCH] move profile to root package --- Cargo.toml | 5 ++++- chip8_tui/Cargo.toml | 4 ---- 2 files changed, 4 insertions(+), 5 deletions(-) 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"] }