diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-04-18 11:07:53 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-04-18 11:35:24 +0200 |
commit | 4b160d1b2119cd2007ea7a76d4baba56ad66b825 (patch) | |
tree | a6c5d491c8306304cc9ec112ffedcae4ff6bced3 /bindings/rust/build.rs | |
parent | 1f10ff9a6039a50e2f7be394fc22b1400832cf17 (diff) |
Support comments… sortav1.2.0
Diffstat (limited to 'bindings/rust/build.rs')
-rw-r--r-- | bindings/rust/build.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bindings/rust/build.rs b/bindings/rust/build.rs index c6061f0..4cc26f5 100644 --- a/bindings/rust/build.rs +++ b/bindings/rust/build.rs @@ -7,6 +7,9 @@ fn main() { .flag_if_supported("-Wno-unused-parameter") .flag_if_supported("-Wno-unused-but-set-variable") .flag_if_supported("-Wno-trigraphs"); + #[cfg(target_env = "msvc")] + c_config.flag("-utf-8"); + let parser_path = src_dir.join("parser.c"); c_config.file(&parser_path); |