diff --git a/libs/scrap/build.rs b/libs/scrap/build.rs index 01ec183b0..4157813b7 100644 --- a/libs/scrap/build.rs +++ b/libs/scrap/build.rs @@ -228,7 +228,7 @@ fn ffmpeg() { fn main() { // in this crate, these are also valid configurations - println!("cargo::rustc-check-cfg=cfg(dxgi,quartz,x11)"); + println!("cargo:rustc-check-cfg=cfg(dxgi,quartz,x11)"); // there is problem with cfg(target_os) in build.rs, so use our workaround let target_os = std::env::var("CARGO_CFG_TARGET_OS").unwrap();