From d07ea186faa79338a7440211cad9f7f72b6b18d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Tue, 15 Sep 2026 19:33:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B6=E7=B4=A7=E8=B5=84=E6=BA=90=20kind=20?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E4=B8=93=E7=94=A8=E5=AF=BC=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 仅在测试构建中导入 GameCreationAppAssetKind,避免正式构建产生未使用警告。 --- .../src-tauri/src/ui_editor/commands/binding.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/binding.rs b/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/binding.rs index 103ac37b6..f7a37aad7 100644 --- a/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/binding.rs +++ b/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/binding.rs @@ -15,6 +15,7 @@ use platform_llm::{ }; use schemars::JsonSchema; use serde::{Deserialize, Serialize}; +#[cfg(test)] use shared_contracts::game_creation_app::GameCreationAppAssetKind; use std::collections::HashSet; use std::path::Path;