disable strict aliasing for c wrapper

ffi
Avril 3 years ago
parent f8dc3de398
commit f7ea81344d
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -18,6 +18,7 @@ fn build_cookie_wrapper(floc: impl AsRef<Path>)
.flag_if_supported("-Wextra") .flag_if_supported("-Wextra")
.flag("-Werror") .flag("-Werror")
.flag("-pedantic") .flag("-pedantic")
.flag("-fno-strict-aliasing")
.include("include/") .include("include/")
.opt_level(3) .opt_level(3)
.flag_if_supported("-flto") .flag_if_supported("-flto")

Loading…
Cancel
Save