File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -6,3 +6,11 @@ members = [
66 " sqlite-sys" ,
77 " sandbox"
88]
9+
10+ [profile .release ]
11+ opt-level = 3
12+ debug = false
13+ rpath = false
14+ lto = true
15+ debug-assertions = false
16+ panic = ' abort'
Original file line number Diff line number Diff line change 11extern crate cmake;
22extern crate bindgen;
33
4- use std:: env;
5-
64fn main ( ) {
75 // TODO deduplicate code, only MinGW line for Windows, check if on MSVC
86 if cfg ! ( windows) {
@@ -78,7 +76,7 @@ fn main() {
7876 // .expect("Unable to generate bindings");
7977
8078 // // Write the bindings to the $OUT_DIR/bindings.rs file.
81- // let out_path = std::path::PathBuf::from(env::var("CARGO_MANIFEST_DIR").unwrap());
79+ // let out_path = std::path::PathBuf::from(std:: env::var("CARGO_MANIFEST_DIR").unwrap());
8280 // bindings
8381 // .write_to_file(out_path.join("src/bindings.rs"))
8482 // .expect("Couldn't write bindings!");
You can’t perform that action at this time.
0 commit comments