SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.
Render: the crate's tests compile without the raytrace-cpu feature (#12535) (#12542)
CamWightb73d6e6e6ffc
diff --git a/crates/render/src/job/host_tests.rs b/crates/render/src/job/host_tests.rsindex b4632de2d4..84b11627f7 100644--- a/crates/render/src/job/host_tests.rs+++ b/crates/render/src/job/host_tests.rs@@ -2219,6 +2219,7 @@ mod capture_credit {_worker: None,}))}+ #[cfg(all(feature = "raytrace-cpu", not(target_arch = "wasm32")))]fn mapped() -> (ProductScene, ImageRequest, Weak<Vec<u8>>) {use crate::{job::{@@ -2467,6 +2468,7 @@ mod capture_credit {assert!(weak.upgrade().is_none());assert_eq!(host.admitted_bytes(), 0);}+ #[cfg(all(feature = "raytrace-cpu", not(target_arch = "wasm32")))]#[test]fn capture_rechecks_actual_registered_layout_after_admission_before_merging_credit() {let (scene, mut image, weak) = mapped();@@ -2485,6 +2487,7 @@ mod capture_credit {assert_eq!(host.admitted_bytes(), 0);assert!(host.0.shared.queue.lock().unwrap().is_empty());}+ #[cfg(all(feature = "raytrace-cpu", not(target_arch = "wasm32")))]#[test]fn capture_registered_factory_failure_releases_source_credit_and_preserves_only_record_summary() {let (scene, mut image, weak) = mapped();