From 19ec1988e0732f0c14dbae7143d8e5e0428fac0a Mon Sep 17 00:00:00 2001 From: Dmitry Stepanov Date: Mon, 27 Oct 2025 21:48:10 +0300 Subject: [PATCH] remove optimization for `dev` profile - use separate build profile for standalone editor --- CONTRIBUTING.md | 2 +- Cargo.toml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2e9e5716e..3e093c8f3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -44,7 +44,7 @@ Common rules for code contributions: When you're writing something for the editor, you can run its standalone version using `fyroxed` package like so: ```shell -cargo run --package fyroxed +cargo run --package fyroxed --profile=editor-standalone ``` This way the editor will run without any plugins, and you can test your changes quickly without a need to create a diff --git a/Cargo.toml b/Cargo.toml index a473fd3fd..9bf52b8b5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,10 +22,11 @@ members = [ "fyrox-texture", "fyrox-autotile", "fyrox-material" -, "fyrox-graphics-gl"] + , "fyrox-graphics-gl"] resolver = "2" -[profile.dev] +[profile.editor-standalone] +inherits = "dev" opt-level = 1 [profile.release]