From 469d219b5baf0353cc6651037413c13b27cdf42b Mon Sep 17 00:00:00 2001 From: Polochon_street Date: Sun, 28 Jul 2024 00:01:40 +0200 Subject: [PATCH] Fix CI... ...After https://blog.rust-lang.org/2024/05/06/check-cfg.html landed --- Cargo.toml | 2 +- build.rs | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index f1ee40a..c2c5908 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ffmpeg-sys-next" -version = "7.0.0" +version = "7.0.1" build = "build.rs" links = "ffmpeg" diff --git a/build.rs b/build.rs index 4622987..05763a0 100644 --- a/build.rs +++ b/build.rs @@ -525,6 +525,10 @@ fn check_features( continue; } } + // Here so the features are listed for rust-ffmpeg at build time. Does + // NOT represent activated features, just features that exist (hence the + // lack of "=true" at the end) + println!(r#"cargo:{}="#, var); let var_str = format!("[{var}]", var = var); let pos = var_str.len()