Skip to content

armgit / raea

Public Imported from GitHub
0

Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.

raea-sys-stage builds on main: RAEA_TIMES read from the environment

shinyobjectzc2044c2899b1
diff --git a/Cargo.lock b/Cargo.lock
index 7bd80791..f0f08c40 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -16453,7 +16453,6 @@ dependencies = [
"raea-core-facts",
"raea-core-scene",
"raea-core-shape",
- "raea-io-trace",
"serde_json",
]
diff --git a/systems/stage/Cargo.toml b/systems/stage/Cargo.toml
index 1227e746..902226af 100644
--- a/systems/stage/Cargo.toml
+++ b/systems/stage/Cargo.toml
@@ -7,7 +7,6 @@ publish = false
description = "The stage checks a render runs on its frames' scenes: 3D type that can't be read, parts that snap, a camera that lurches or reverses, frames with nothing composed in them (docs/stage-guards.feature SG10-SG14)"
[dependencies]
-raea-io-trace = { path = "../../io/trace" }
raea-core-scene = { path = "../../core/scene" }
raea-core-shape = { path = "../../core/shape" }
# its results as Findings (docs/direction.feature DR3)
diff --git a/systems/stage/src/lib.rs b/systems/stage/src/lib.rs
index 4d392823..981e4ae1 100644
--- a/systems/stage/src/lib.rs
+++ b/systems/stage/src/lib.rs
@@ -35,7 +35,7 @@ pub fn told(all: &[Vec<Item>], frames: &[i64], page: &[Page], w: u32, h: u32, fp
eprintln!("raea: {}", f.line());
}
raea_core_facts::finding::said(&found);
- if raea_io_trace::stat("RAEA_TIMES") {
+ if std::env::var_os("RAEA_TIMES").is_some() {
eprintln!("raea times: the stage checks {:.0} ms", t.elapsed().as_secs_f64() * 1e3);
}
found