Remove workarounds (#426)

Removes some workaronds for rust bugs

- [x] no changelog update needed
This commit is contained in:
Corwin 2023-05-23 20:29:35 +01:00 committed by GitHub
commit 1bb70aa24b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 1 additions and 87 deletions

View file

@ -8,13 +8,3 @@ repository = "https://github.com/agbrs/agb"
[dependencies] [dependencies]
agb_macros = { version = "0.15.0", path = "../agb-macros" } 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

View file

@ -22,4 +22,3 @@ debug = true
opt-level = 3 opt-level = 3
lto = "fat" lto = "fat"
debug = true debug = true
codegen-units = 1

View file

@ -12,13 +12,3 @@ rustc-hash = { version = "1", default-features = false }
[dev-dependencies] [dev-dependencies]
rand = { version = "0.8", default-features = false, features = ["small_rng"] } rand = { version = "0.8", default-features = false, features = ["small_rng"] }
lazy_static = "1.4" lazy_static = "1.4"
[profile.dev]
opt-level = 3
debug = true
[profile.release]
opt-level = 3
lto = "fat"
debug = true
codegen-units = 1

View file

@ -17,13 +17,3 @@ proc-macro2 = "1"
quote = "1" quote = "1"
asefile = "0.3.5" asefile = "0.3.5"
fontdue = "0.7" fontdue = "0.7"
[profile.dev]
opt-level = 3
debug = true
[profile.release]
opt-level = 3
lto = "fat"
debug = true
codegen-units = 1

View file

@ -13,14 +13,4 @@ proc-macro = true
[dependencies] [dependencies]
syn = { version = "2", features = ["full", "extra-traits"] } syn = { version = "2", features = ["full", "extra-traits"] }
proc-macro2 = "1" proc-macro2 = "1"
quote = "1" quote = "1"
[profile.dev]
opt-level = 3
debug = true
[profile.release]
opt-level = 3
lto = "fat"
debug = true
codegen-units = 1

View file

@ -15,13 +15,3 @@ hound = "3.5"
syn = "2" syn = "2"
proc-macro2 = "1" proc-macro2 = "1"
quote = "1" quote = "1"
[profile.dev]
opt-level = 3
debug = true
[profile.release]
opt-level = 3
lto = "fat"
debug = true
codegen-units = 1

View file

@ -34,4 +34,3 @@ debug = true
opt-level = 3 opt-level = 3
lto = "fat" lto = "fat"
debug = true debug = true
codegen-units = 1

View file

@ -10,10 +10,8 @@ agb = { version = "0.15.0", path = "../../../agb" }
[profile.dev] [profile.dev]
opt-level = 3 opt-level = 3
debug = true debug = true
codegen-units = 1
[profile.release] [profile.release]
opt-level = 3 opt-level = 3
lto = "fat" lto = "fat"
debug = true debug = true
codegen-units = 1

View file

@ -12,10 +12,8 @@ agb = { version = "0.15.0", path = "../../agb" }
[profile.dev] [profile.dev]
opt-level = 2 opt-level = 2
debug = true debug = true
codegen-units = 1
[profile.release] [profile.release]
panic = "abort" panic = "abort"
lto = true lto = true
debug = true debug = true
codegen-units = 1

View file

@ -15,10 +15,8 @@ amplitude = { path = "../amplitude" }
[profile.dev] [profile.dev]
opt-level = 3 opt-level = 3
debug = true debug = true
codegen-units = 1
[profile.release] [profile.release]
opt-level = 3 opt-level = 3
lto = "fat" lto = "fat"
debug = true debug = true
codegen-units = 1

View file

@ -10,10 +10,8 @@ agb = { version = "0.15.0", path = "../../agb" }
[profile.dev] [profile.dev]
opt-level = 3 opt-level = 3
debug = true debug = true
codegen-units = 1
[profile.release] [profile.release]
opt-level = 3 opt-level = 3
lto = "fat" lto = "fat"
debug = true debug = true
codegen-units = 1

View file

@ -16,10 +16,8 @@ serde_json = "1.0"
[profile.dev] [profile.dev]
opt-level = 3 opt-level = 3
debug = true debug = true
codegen-units = 1
[profile.release] [profile.release]
opt-level = 3 opt-level = 3
lto = "fat" lto = "fat"
debug = true debug = true
codegen-units = 1

View file

@ -17,10 +17,8 @@ tiled = { version = "0.9.4", default-features = false }
[profile.dev] [profile.dev]
opt-level = 3 opt-level = 3
debug = true debug = true
codegen-units = 1
[profile.release] [profile.release]
opt-level = 3 opt-level = 3
lto = "fat" lto = "fat"
debug = true debug = true
codegen-units = 1

View file

@ -11,13 +11,3 @@ image = { version = "0.24", default-features = false, features = [ "png", "bmp"
[build-dependencies] [build-dependencies]
cc = { version = "1", features = ["parallel"] } cc = { version = "1", features = ["parallel"] }
[profile.dev]
opt-level = 3
debug = true
[profile.release]
opt-level = 3
lto = "fat"
debug = true
codegen-units = 1

View file

@ -12,10 +12,8 @@ agb = "0.15.0"
[profile.dev] [profile.dev]
opt-level = 3 opt-level = 3
debug = true debug = true
codegen-units = 1
[profile.release] [profile.release]
opt-level = 3 opt-level = 3
lto = "fat" lto = "fat"
debug = true debug = true
codegen-units = 1

View file

@ -9,13 +9,3 @@ toml_edit = "0.19"
glob = "0.3" glob = "0.3"
chrono = "0.4" chrono = "0.4"
dependency-graph = "0.1.5" dependency-graph = "0.1.5"
[profile.dev]
opt-level = 3
debug = true
[profile.release]
opt-level = 3
lto = "fat"
debug = true
codegen-units = 1