Use lazy_static for HOST_TABLE.

This might change behaviour if the file is changed between Servo startup and
the moment HOST_TABLE is first accessed. I don't think we care.
This commit is contained in:
Ms2ger 2016-03-14 15:23:35 +01:00
parent a862384841
commit ec1f720662
9 changed files with 45 additions and 56 deletions

View file

@ -16,6 +16,8 @@ extern crate hyper;
extern crate image as piston_image;
extern crate ipc_channel;
#[macro_use]
extern crate lazy_static;
#[macro_use]
extern crate log;
extern crate msg;
extern crate serde;