mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-26 23:28:43 +00:00
Add packages/cli-rs, an OpenCode client written in Rust on OpenTUI's Rust crates. It is a client only.
9 lines
301 B
Rust
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");
|
|
}
|
|
}
|