From 3859bd713e97d9adb3290e2515de27e2dd7909ec Mon Sep 17 00:00:00 2001 From: Dennis Kobert Date: Sun, 16 Aug 2026 11:29:20 +0000 Subject: [PATCH] Install element layouts on the runtime test graphs --- node-graph/libraries/core-types/src/runtime.rs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/node-graph/libraries/core-types/src/runtime.rs b/node-graph/libraries/core-types/src/runtime.rs index 6390fb1afd..d65cf0024a 100644 --- a/node-graph/libraries/core-types/src/runtime.rs +++ b/node-graph/libraries/core-types/src/runtime.rs @@ -266,9 +266,15 @@ mod tests { RecordLift::new(SourceNode(value)) } - fn extract(graph: N) -> RecordExtract { + fn extract>>(mut graph: N) -> RecordExtract { stack::reserve(1 << 12); - RecordExtract::new(graph, &element_layout::()) + let layout = element_layout::(); + graph.set_layout(crate::record::RecordLayout { + frame_bytes: layout.frame_bytes(), + plan: Vec::new(), + layout: layout.clone(), + }); + RecordExtract::new(graph, &layout) } static SLOW_DOUBLE_RUNS: AtomicU32 = AtomicU32::new(0);