diff --git a/components/style_traits/lib.rs b/components/style_traits/lib.rs index f47eac39bae..f1348fa79a7 100644 --- a/components/style_traits/lib.rs +++ b/components/style_traits/lib.rs @@ -11,8 +11,11 @@ #![feature(custom_derive)] #![feature(plugin)] #![plugin(serde_macros)] +#![plugin(plugins)] #![deny(unsafe_code)] + + extern crate euclid; extern crate rustc_serialize; extern crate serde; diff --git a/ports/glutin/window.rs b/ports/glutin/window.rs index fec6045b978..31bc358c488 100644 --- a/ports/glutin/window.rs +++ b/ports/glutin/window.rs @@ -724,7 +724,7 @@ impl Window { let headless_builder = glutin::HeadlessRendererBuilder::new(window_size.width, window_size.height); let headless_context = headless_builder.build().unwrap(); - unsafe { headless_context.make_current() }; + unsafe { headless_context.make_current().expect("Failed to make context current!") }; gl::load_with(|s| headless_context.get_proc_address(s));