makepad/apps/director/build.rs
Admin 3811545d48 apps: director, studio, scope, aichat
Squash of 8 work commits (Sep 2–10):
  7b9ed2c  aichat: the assistant as an app — the panel owns the engine, the bus client, settings with the local-only lock
  e0c6e74  aichat: the progress bar and system lines use the theme's highlight colour
  8b46ce0  aichat: the composer's hint is a dark grey Ask AI, not the typed colour
  b99a631  toml_parser, rust_tokenizer: rewrite both for the code analyser
  3bbcea2  aichat: add Studio evaluation-feedback widget
  b61845f  studio: Architecture view, the third workspace mode
  d7a76cf  studio: add bounded code context and source APIs
  524142a  Split Studio into makepad director (public) and makepad scope (private)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-15 13:40:29 +02:00

7 lines
255 B
Rust

fn main() {
println!("cargo:rustc-check-cfg=cfg(gpusim)");
println!("cargo:rerun-if-env-changed=MAKEPAD");
if std::env::var("MAKEPAD").unwrap_or_default().split(',').any(|v| v == "gpusim") {
println!("cargo:rustc-cfg=gpusim");
}
}