opencode/packages/cli-rs/crates/plugin/build.rs
Simon Klee 6b1df0cceb
feat(cli-rs): add the native CLI and TUI (#63477)
Add packages/cli-rs, an OpenCode client written in Rust on OpenTUI's Rust crates. It is a client only.
2026-11-22 00:07:01 +01:00

9 lines
301 B
Rust

//! `cfg(luau)`: the `luau` feature. Code that runs Luau plugins is behind it.
fn main() {
println!("cargo::rustc-check-cfg=cfg(luau)");
println!("cargo::rerun-if-changed=build.rs");
if std::env::var_os("CARGO_FEATURE_LUAU").is_some() {
println!("cargo::rustc-cfg=luau");
}
}