Engine split step 6: trait imports where only CI's builds use them (Linux print, app tests, GPU trials)

This commit is contained in:
aiongg committed 2026-11-23 03:56:31 +00:00
1 parent 62263bc7b8
commit 7ea8b7c8a9
2 files changed
+4 -1

No files matched your search

+3 -1
View File
@@ -63,7 +63,7 @@ mod ui_state;
mod window_frame;
use photocraft_engine::Session;
use photocraft_engine::prefs::SavedPrefsExt;
#[cfg(target_os = "linux")]
use photocraft_engine::print_cmds::PrintExt;
use photocraft_ui_egui::PhotocraftApp;
use photocraft_ui_egui::Prefix;
@@ -842,6 +842,8 @@ pub(crate) fn no_child_spawns() -> std::sync::RwLockWriteGuard<'static, ()> {
#[cfg(test)]
mod tests {
use photocraft_engine::prefs::SavedPrefsExt;
/// Schema-probe `ui.ron` shapes *reconstructed* from the documented 0.14/0.15/0.37 layouts,
/// not recorded machine saves: 0.14 and 0.15 both store the flat window entry, which the
/// first 0.37 launch rewrites; a 0.37 file is left alone. Keeping all three probes makes a
@@ -13,6 +13,7 @@ mod gpu_tests {
use photocraft_automation::workspace::AuthorizedWorkspace;
use photocraft_automation::{GpuRenderer, Headless};
use photocraft_engine::color_cmds::ColorExt;
fn make_test_doc(w: u32, h: u32, depth: SampleType) -> Document {
let mut doc = Document::with_background("test_doc", Size::new(w, h), ColorMode::Rgb, depth, Color::WHITE);