From 37c30586c3998d62c6f6045e23154dc21112ec88 Mon Sep 17 00:00:00 2001 From: Corwin Date: Sat, 6 May 2023 16:16:18 +0100 Subject: [PATCH] remove profiles from some projects these projects are not tested or run on the gba or are dependencies and therefore follow the binaries settings --- agb-fixnum/Cargo.toml | 10 ---------- agb-hashmap/Cargo.toml | 10 ---------- agb-image-converter/Cargo.toml | 10 ---------- agb-macros/Cargo.toml | 12 +----------- agb-sound-converter/Cargo.toml | 10 ---------- mgba-test-runner/Cargo.toml | 10 ---------- tools/Cargo.toml | 10 ---------- 7 files changed, 1 insertion(+), 71 deletions(-) diff --git a/agb-fixnum/Cargo.toml b/agb-fixnum/Cargo.toml index 9c336d5b..6a03e727 100644 --- a/agb-fixnum/Cargo.toml +++ b/agb-fixnum/Cargo.toml @@ -8,13 +8,3 @@ repository = "https://github.com/agbrs/agb" [dependencies] agb_macros = { version = "0.15.0", path = "../agb-macros" } - -[profile.dev] -opt-level = 3 -debug = true - -[profile.release] -opt-level = 3 -lto = "fat" -debug = true -codegen-units = 1 diff --git a/agb-hashmap/Cargo.toml b/agb-hashmap/Cargo.toml index c464959a..8e4790ca 100644 --- a/agb-hashmap/Cargo.toml +++ b/agb-hashmap/Cargo.toml @@ -12,13 +12,3 @@ rustc-hash = { version = "1", default-features = false } [dev-dependencies] rand = { version = "0.8", default-features = false, features = ["small_rng"] } lazy_static = "1.4" - -[profile.dev] -opt-level = 3 -debug = true - -[profile.release] -opt-level = 3 -lto = "fat" -debug = true -codegen-units = 1 diff --git a/agb-image-converter/Cargo.toml b/agb-image-converter/Cargo.toml index ea539fcd..8fc7a6bb 100644 --- a/agb-image-converter/Cargo.toml +++ b/agb-image-converter/Cargo.toml @@ -17,13 +17,3 @@ proc-macro2 = "1" quote = "1" asefile = "0.3.5" fontdue = "0.7" - -[profile.dev] -opt-level = 3 -debug = true - -[profile.release] -opt-level = 3 -lto = "fat" -debug = true -codegen-units = 1 diff --git a/agb-macros/Cargo.toml b/agb-macros/Cargo.toml index 7db79f00..3312bae9 100644 --- a/agb-macros/Cargo.toml +++ b/agb-macros/Cargo.toml @@ -13,14 +13,4 @@ proc-macro = true [dependencies] syn = { version = "2", features = ["full", "extra-traits"] } proc-macro2 = "1" -quote = "1" - -[profile.dev] -opt-level = 3 -debug = true - -[profile.release] -opt-level = 3 -lto = "fat" -debug = true -codegen-units = 1 +quote = "1" \ No newline at end of file diff --git a/agb-sound-converter/Cargo.toml b/agb-sound-converter/Cargo.toml index 992afbb8..6968bd90 100644 --- a/agb-sound-converter/Cargo.toml +++ b/agb-sound-converter/Cargo.toml @@ -15,13 +15,3 @@ hound = "3.5" syn = "2" proc-macro2 = "1" quote = "1" - -[profile.dev] -opt-level = 3 -debug = true - -[profile.release] -opt-level = 3 -lto = "fat" -debug = true -codegen-units = 1 diff --git a/mgba-test-runner/Cargo.toml b/mgba-test-runner/Cargo.toml index 58e7839b..4649d2f3 100644 --- a/mgba-test-runner/Cargo.toml +++ b/mgba-test-runner/Cargo.toml @@ -11,13 +11,3 @@ image = { version = "0.24", default-features = false, features = [ "png", "bmp" [build-dependencies] cc = { version = "1", features = ["parallel"] } - -[profile.dev] -opt-level = 3 -debug = true - -[profile.release] -opt-level = 3 -lto = "fat" -debug = true -codegen-units = 1 \ No newline at end of file diff --git a/tools/Cargo.toml b/tools/Cargo.toml index bd6f8ee5..349d7d26 100644 --- a/tools/Cargo.toml +++ b/tools/Cargo.toml @@ -9,13 +9,3 @@ toml_edit = "0.19" glob = "0.3" chrono = "0.4" dependency-graph = "0.1.5" - -[profile.dev] -opt-level = 3 -debug = true - -[profile.release] -opt-level = 3 -lto = "fat" -debug = true -codegen-units = 1 \ No newline at end of file