Skip to content

Instantly share code, notes, and snippets.

@wirelyre
Created February 9, 2019 01:28
Show Gist options
  • Save wirelyre/207acebeb5cbc081c344e053eae58d34 to your computer and use it in GitHub Desktop.
Save wirelyre/207acebeb5cbc081c344e053eae58d34 to your computer and use it in GitHub Desktop.
diff --git a/tests/test_no_warnings/build.rs b/tests/test_no_warnings/build.rs
index c8ddd7c..4a5193a 100644
--- a/tests/test_no_warnings/build.rs
+++ b/tests/test_no_warnings/build.rs
@@ -40,24 +40,12 @@ fn main() {
.unwrap();
writeln!(&mut file, "}}").unwrap();
- writeln!(&mut file, "mod gl_struct {{").unwrap();
- gl_registry
- .write_bindings(StructGenerator, &mut file)
- .unwrap();
- writeln!(&mut file, "}}").unwrap();
-
writeln!(&mut file, "mod gl_static_struct {{").unwrap();
gl_registry
.write_bindings(StaticStructGenerator, &mut file)
.unwrap();
writeln!(&mut file, "}}").unwrap();
- writeln!(&mut file, "mod gl_debug_struct {{").unwrap();
- gl_registry
- .write_bindings(DebugStructGenerator, &mut file)
- .unwrap();
- writeln!(&mut file, "}}").unwrap();
-
// Glx
let glx_registry = Registry::new(Api::Glx, (1, 4), Profile::Core, Fallbacks::All, []);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment