Use the new build scripts dependencies system

This commit is contained in:
Pierre Krieger 2015-12-05 20:13:46 +01:00
parent 8c3ffd2a4f
commit 29a59d7999

View file

@ -9,6 +9,8 @@ fn main() {
let target = env::var("TARGET").unwrap();
let dest = PathBuf::from(&env::var("OUT_DIR").unwrap());
println!("cargo:rerun-if-changed=build.rs");
if target.contains("windows") {
let mut file = File::create(&dest.join("wgl_bindings.rs")).unwrap();
gl_generator::generate_bindings(gl_generator::StaticGenerator,