@ondeinference / ed Mirror · read-only
Fork 0

Read-only mirror of github.com/ondeinference/ed.

Mirrored from https://github.com/ondeinference/ed.git

Synced Nov 23, 01:00 UTC

development
rs 9 lines 336 Bytes
Raw
1 fn main() {
2 let target_os = std::env::var("CARGO_CFG_TARGET_OS").unwrap_or_default();
3 if matches!(target_os.as_str(), "ios" | "tvos" | "visionos") {
4 cc::Build::new()
5 .file("scripts/tvos_chkstk.s")
6 .compile("tvos_chkstk");
7 println!("cargo:rerun-if-changed=scripts/tvos_chkstk.s");
8 }
9 }