From d861eab22b8c10e4e0c238ceecad8b9efcb88156 Mon Sep 17 00:00:00 2001 From: Will Lillis Date: Mon, 15 Jun 2026 01:27:31 -0400 Subject: [PATCH] fix(build): use `std` helper rather than passing `-std=c11` flag MSVC expects `/std:c11` --- lib/binding_rust/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/binding_rust/build.rs b/lib/binding_rust/build.rs index 17eae03b9..aecf38d89 100644 --- a/lib/binding_rust/build.rs +++ b/lib/binding_rust/build.rs @@ -39,7 +39,7 @@ fn main() { } config - .flag_if_supported("-std=c11") + .std("c11") .flag_if_supported("-fvisibility=hidden") .flag_if_supported("-Wshadow") .flag_if_supported("-Wno-unused-parameter")