mirror of
https://github.com/servo/servo.git
synced 2025-07-15 11:23:39 +01:00
Fix warnings in glutin.
This commit is contained in:
parent
dda12e196b
commit
19a8f24e8b
2 changed files with 6 additions and 3 deletions
|
@ -4,8 +4,11 @@
|
||||||
|
|
||||||
//! A simple application that uses glutin to open a window for Servo to display in.
|
//! A simple application that uses glutin to open a window for Servo to display in.
|
||||||
|
|
||||||
#![feature(box_syntax, int_uint)]
|
#![feature(int_uint)]
|
||||||
#![allow(unstable)]
|
#![feature(core)]
|
||||||
|
#![feature(hash)]
|
||||||
|
#![feature(box_syntax)]
|
||||||
|
#![feature(libc)]
|
||||||
|
|
||||||
#[macro_use] extern crate bitflags;
|
#[macro_use] extern crate bitflags;
|
||||||
#[cfg(target_os="macos")]
|
#[cfg(target_os="macos")]
|
||||||
|
|
|
@ -47,7 +47,7 @@ static mut g_nested_event_loop_listener: Option<*mut (NestedEventLoopListener +
|
||||||
|
|
||||||
#[cfg(feature = "window")]
|
#[cfg(feature = "window")]
|
||||||
bitflags! {
|
bitflags! {
|
||||||
#[derive(Show)]
|
#[derive(Debug)]
|
||||||
flags KeyModifiers: u8 {
|
flags KeyModifiers: u8 {
|
||||||
const LEFT_CONTROL = 1,
|
const LEFT_CONTROL = 1,
|
||||||
const RIGHT_CONTROL = 2,
|
const RIGHT_CONTROL = 2,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue