mirror of
https://github.com/warpdotdev/warp.git
synced 2026-05-06 23:32:51 +08:00
12 lines
226 B
Rust
12 lines
226 B
Rust
use anyhow::Result;
|
|
|
|
fn main() -> Result<()> {
|
|
let target_family = std::env::var("CARGO_CFG_TARGET_FAMILY")?;
|
|
|
|
if target_family != "wasm" {
|
|
println!("cargo:rustc-cfg=feature=\"local_fs\"");
|
|
}
|
|
|
|
Ok(())
|
|
}
|