aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/bindings/codegen/CodegenRust.py
diff options
context:
space:
mode:
authorbors-servo <release+servo@mozilla.com>2013-07-10 06:57:36 -0700
committerbors-servo <release+servo@mozilla.com>2013-07-10 06:57:36 -0700
commit34a35054e9e113b9033fc050eaf25c82223c9aff (patch)
treef3f7b7394b86cf058188ed66aab3dc8a0610b90e /src/components/script/dom/bindings/codegen/CodegenRust.py
parent5af5888432a9e61d8e7b3db2470ec1af45d08191 (diff)
parentcfc7491b1f1c2c49472da07f6f97c7ef9f1f165e (diff)
downloadservo-34a35054e9e113b9033fc050eaf25c82223c9aff.tar.gz
servo-34a35054e9e113b9033fc050eaf25c82223c9aff.zip
auto merge of #563 : metajack/servo/glfw, r=metajack
This code replaces glut with glfw. The motivation here is address the GPU driver bugs on Linux when using multiple `Display *` pointers with shared GL contexts instead of a single common one. GLFW has native access methods which provide access to its `Display *`, which appears to be unique among all the similar toolkits. Details: - Adds glfw and glfw-rs to the build - Removes GLUT code and replaces it with GLFW versions - Fixes hard coded initial window values - Fixes clean targets - Event loop doesn't block on windowing events anymore
Diffstat (limited to 'src/components/script/dom/bindings/codegen/CodegenRust.py')
-rw-r--r--src/components/script/dom/bindings/codegen/CodegenRust.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/dom/bindings/codegen/CodegenRust.py b/src/components/script/dom/bindings/codegen/CodegenRust.py
index 66984d6c885..055cb0ce488 100644
--- a/src/components/script/dom/bindings/codegen/CodegenRust.py
+++ b/src/components/script/dom/bindings/codegen/CodegenRust.py
@@ -2153,7 +2153,7 @@ class CGImports(CGWrapper):
# TODO imports to cover descriptors, etc.
def _useString(imports):
- return '#[allow(unused_imports,unused_variable,unused_unsafe,unused_mut)];' + ''.join(['use %s;\n' % i for i in imports]) + '\n'
+ return '#[allow(non_uppercase_statics,unused_imports,unused_variable,unused_unsafe,unused_mut)];' + ''.join(['use %s;\n' % i for i in imports]) + '\n'
CGWrapper.__init__(self, child,
declarePre=_useString(sorted(declareImports)))