Switch the default windowing system to glutin. See below for details.

This change makes glutin the default windowing system on mac/linux.

If you run into any issues with the glutin system, you can temporarily
build the GLFW system with the following command:

cd components/servo
../../mach cargo build --no-default-features --features=glfw

Once any glutin related issues have been sorted out, the GLFW
port will be removed.
This commit is contained in:
Glenn Watson 2014-12-23 09:03:36 +10:00
parent e4f0b816d5
commit a7d18f9c03
2 changed files with 4 additions and 4 deletions

View file

@ -27,8 +27,8 @@ path = "../../tests/contenttest.rs"
harness = false
[features]
default = ["glfw_app"]
glutin = ["glutin_app"]
default = ["glutin_app"]
glfw = ["glfw_app"]
[dependencies.compositing]
path = "../compositing"

View file

@ -14,9 +14,9 @@ extern crate servo;
extern crate time;
extern crate "util" as servo_util;
#[cfg(all(feature = "glutin",not(test)))]
#[cfg(all(feature = "glutin_app",not(test)))]
extern crate "glutin_app" as app;
#[cfg(all(feature = "glfw_app",not(test)))]
#[cfg(all(feature = "glfw",not(test)))]
extern crate "glfw_app" as app;
#[cfg(not(test))]