From 66ec33cd451971612339df2ed07becbb2952bcbc Mon Sep 17 00:00:00 2001 From: Adam Roben Date: Mon, 9 Feb 2015 12:59:29 -0500 Subject: [PATCH 1/2] Fix compilation with rustc 00df3251f 2015-02-08 --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index b5e8593f..b955aa73 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -10,7 +10,7 @@ #![crate_name="html5ever"] #![crate_type="dylib"] -#![feature(plugin, int_uint, box_syntax)] +#![feature(plugin, int_uint, box_syntax, no_std)] #![feature(core, hash, collections, alloc)] #![cfg_attr(not(for_c), feature(io))] #![cfg_attr(for_c, feature(libc))] From 6cce24b37ae8c14ea30f17b20c6c65933c57df86 Mon Sep 17 00:00:00 2001 From: Adam Roben Date: Mon, 9 Feb 2015 12:59:44 -0500 Subject: [PATCH 2/2] Fix warnings with rustc 00df3251f 2015-02-08 --- examples/noop-tokenize.rs | 2 +- tests/html5ever-external-test.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/noop-tokenize.rs b/examples/noop-tokenize.rs index ea91e3a1..db32da19 100644 --- a/examples/noop-tokenize.rs +++ b/examples/noop-tokenize.rs @@ -9,7 +9,7 @@ // Run a single benchmark once. For use with profiling tools. -#![feature(core, os, io, test, path)] +#![feature(core, env, os, io, test, path)] extern crate test; extern crate html5ever; diff --git a/tests/html5ever-external-test.rs b/tests/html5ever-external-test.rs index 3b419b5d..1ba641e2 100644 --- a/tests/html5ever-external-test.rs +++ b/tests/html5ever-external-test.rs @@ -11,7 +11,7 @@ #![crate_type="bin"] #![feature(plugin)] -#![feature(rustc_private, core, io, os, path, std_misc, test)] +#![feature(rustc_private, core, env, io, os, path, std_misc, test)] extern crate test; extern crate serialize;