nativeview-cli 0.1.0-rc.1

Developer CLI (`nv`) for Native View Engine: dev hot-reload, builds, pairing, SDK management, app scaffolding, and docs.
Documentation
1
2
3
4
5
6
7
8
9
//! Build script for `nativeview-cli` (MSVC stack reserve only; zero out-of-crate filesystem scans).

fn main() {
    // Windows MSVC defaults PE stack reserve to 1 MiB, which overflows in unoptimized debug
    // `clap::Parser::parse()` on the `Commands` enum before subcommand dispatch.
    if std::env::var("CARGO_CFG_TARGET_ENV").as_deref() == Ok("msvc") {
        println!("cargo:rustc-link-arg-bin=nv=/STACK:8388608");
    }
}