diff --git a/crates/servicepoint_binding_c/examples/lang_c/build.rs b/crates/servicepoint_binding_c/examples/lang_c/build.rs index db090d4..4f92e1d 100644 --- a/crates/servicepoint_binding_c/examples/lang_c/build.rs +++ b/crates/servicepoint_binding_c/examples/lang_c/build.rs @@ -12,5 +12,6 @@ fn main() { let mut cc = cc::Build::new(); cc.file("src/main.c"); cc.include(&sp_include); + cc.opt_level(2); cc.compile("lang_c"); }