From daa6fc3d4b5b45b268f9a0cbaec46d6f1c6e1738 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Wed, 8 May 2024 18:25:12 -0400 Subject: [PATCH] move profiles to root workspace Cargo.toml so they aren't ignored --- Cargo.toml | 9 ++++++++- examples/fixed-timestep-rotating-model/Cargo.toml | 12 +----------- examples/lua-scripting/Cargo.toml | 10 ---------- examples/many-lights/Cargo.toml | 12 +----------- 4 files changed, 10 insertions(+), 33 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 8c361d6..cb59c15 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,8 @@ members = [ "examples/many-lights", "examples/fixed-timestep-rotating-model", - "examples/lua-scripting" + "examples/lua-scripting", + "examples/simple_scene" ] [features] @@ -27,3 +28,9 @@ tracy = ["lyra-game/tracy"] [dependencies] lyra-game = { path = "lyra-game" } lyra-scripting = { path = "lyra-scripting", optional = true } + +[profile.dev] +opt-level = 1 + +[profile.release] +debug = true \ No newline at end of file diff --git a/examples/fixed-timestep-rotating-model/Cargo.toml b/examples/fixed-timestep-rotating-model/Cargo.toml index 8d7fa61..e6e20ee 100644 --- a/examples/fixed-timestep-rotating-model/Cargo.toml +++ b/examples/fixed-timestep-rotating-model/Cargo.toml @@ -9,14 +9,4 @@ anyhow = "1.0.75" async-std = "1.12.0" tracing = "0.1.37" rand = "0.8.5" -fps_counter = "3.0.0" - -[target.x86_64-unknown-linux-gnu] -linker = "/usr/bin/clang" -rustflags = ["-Clink-arg=-fuse-ld=lld", "-Clink-arg=-Wl,--no-rosegment"] - -[profile.dev] -opt-level = 1 - -[profile.release] -debug = true \ No newline at end of file +fps_counter = "3.0.0" \ No newline at end of file diff --git a/examples/lua-scripting/Cargo.toml b/examples/lua-scripting/Cargo.toml index 41cedba..1cb7cc3 100644 --- a/examples/lua-scripting/Cargo.toml +++ b/examples/lua-scripting/Cargo.toml @@ -10,13 +10,3 @@ async-std = "1.12.0" tracing = "0.1.37" rand = "0.8.5" fps_counter = "3.0.0" - -[target.x86_64-unknown-linux-gnu] -linker = "/usr/bin/clang" -rustflags = ["-Clink-arg=-fuse-ld=lld", "-Clink-arg=-Wl,--no-rosegment"] - -[profile.dev] -opt-level = 1 - -[profile.release] -debug = true \ No newline at end of file diff --git a/examples/many-lights/Cargo.toml b/examples/many-lights/Cargo.toml index f552f46..cb5b996 100644 --- a/examples/many-lights/Cargo.toml +++ b/examples/many-lights/Cargo.toml @@ -9,14 +9,4 @@ anyhow = "1.0.75" async-std = "1.12.0" tracing = "0.1.37" rand = "0.8.5" -fps_counter = "3.0.0" - -[target.x86_64-unknown-linux-gnu] -linker = "/usr/bin/clang" -rustflags = ["-Clink-arg=-fuse-ld=lld", "-Clink-arg=-Wl,--no-rosegment"] - -[profile.dev] -opt-level = 1 - -[profile.release] -debug = true \ No newline at end of file +fps_counter = "3.0.0" \ No newline at end of file