Lines Matching +full:build +full:- +full:std
2 if let Ok(custom) = ::std::env::var("CUSTOM_LIBFUZZER_PATH") { in main()
3 let custom_lib_path = ::std::path::PathBuf::from(&custom); in main()
9 println!("cargo:rustc-link-search=native={}", custom_lib_dir); in main()
10 println!("cargo:rustc-link-lib=static={}", custom_lib_name); in main()
12 match std::env::var("CUSTOM_LIBFUZZER_STD_CXX") { in main()
14 Err(_) => println!("cargo:rustc-link-lib=stdc++"), in main()
16 Ok(s) => println!("cargo:rustc-link-lib={}", s), in main()
19 let mut build = cc::Build::new(); in main() localVariable
20 let sources = ::std::fs::read_dir("libfuzzer") in main()
26 println!("cargo:rerun-if-changed={}", source.display()); in main()
27 build.file(source.to_str().unwrap()); in main()
29 build.flag("-std=c++11"); in main()
30 build.flag("-fno-omit-frame-pointer"); in main()
31 build.flag("-w"); in main()
32 build.cpp(true); in main()
33 build.compile("libfuzzer.a"); in main()