From d638134d37c1edc0c621a66fb7b81d8b2064877c Mon Sep 17 00:00:00 2001 From: Corwin Date: Sat, 6 May 2023 16:17:47 +0100 Subject: [PATCH] remove codegen-units these were added as a workaround for rust bugs --- agb/Cargo.toml | 1 - book/games/pong/Cargo.toml | 1 - examples/combo/Cargo.toml | 1 - examples/hyperspace-roll/Cargo.toml | 1 - examples/the-hat-chooses-the-wizard/Cargo.toml | 1 - examples/the-purple-night/Cargo.toml | 1 - template/Cargo.toml | 1 - 7 files changed, 7 deletions(-) diff --git a/agb/Cargo.toml b/agb/Cargo.toml index b2670909..d015d115 100644 --- a/agb/Cargo.toml +++ b/agb/Cargo.toml @@ -34,4 +34,3 @@ debug = true opt-level = 3 lto = "fat" debug = true -codegen-units = 1 diff --git a/book/games/pong/Cargo.toml b/book/games/pong/Cargo.toml index 7c0dd1d7..ff848be3 100644 --- a/book/games/pong/Cargo.toml +++ b/book/games/pong/Cargo.toml @@ -16,4 +16,3 @@ codegen-units = 1 opt-level = 3 lto = "fat" debug = true -codegen-units = 1 diff --git a/examples/combo/Cargo.toml b/examples/combo/Cargo.toml index 2c31266e..d08f4096 100644 --- a/examples/combo/Cargo.toml +++ b/examples/combo/Cargo.toml @@ -21,4 +21,3 @@ codegen-units = 1 opt-level = 3 lto = "fat" debug = true -codegen-units = 1 diff --git a/examples/hyperspace-roll/Cargo.toml b/examples/hyperspace-roll/Cargo.toml index 5557b1a3..4d115f63 100644 --- a/examples/hyperspace-roll/Cargo.toml +++ b/examples/hyperspace-roll/Cargo.toml @@ -16,4 +16,3 @@ codegen-units = 1 opt-level = 3 lto = "fat" debug = true -codegen-units = 1 diff --git a/examples/the-hat-chooses-the-wizard/Cargo.toml b/examples/the-hat-chooses-the-wizard/Cargo.toml index 18bc73b0..3ed32576 100644 --- a/examples/the-hat-chooses-the-wizard/Cargo.toml +++ b/examples/the-hat-chooses-the-wizard/Cargo.toml @@ -22,4 +22,3 @@ codegen-units = 1 opt-level = 3 lto = "fat" debug = true -codegen-units = 1 diff --git a/examples/the-purple-night/Cargo.toml b/examples/the-purple-night/Cargo.toml index 0b77cded..343a64df 100644 --- a/examples/the-purple-night/Cargo.toml +++ b/examples/the-purple-night/Cargo.toml @@ -23,4 +23,3 @@ codegen-units = 1 opt-level = 3 lto = "fat" debug = true -codegen-units = 1 diff --git a/template/Cargo.toml b/template/Cargo.toml index 3cd11cb2..9c50bdbc 100644 --- a/template/Cargo.toml +++ b/template/Cargo.toml @@ -18,4 +18,3 @@ codegen-units = 1 opt-level = 3 lto = "fat" debug = true -codegen-units = 1