Feature gate #[simd]

Fixes #11721
This commit is contained in:
David Manescu
2014-01-23 12:25:22 +11:00
parent 4176343073
commit 28b987b99a
8 changed files with 61 additions and 1 deletions

View File

@@ -52,13 +52,14 @@
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://static.rust-lang.org/doc/master")];
#[feature(macro_rules, globs, asm, managed_boxes, thread_local, link_args)];
#[feature(macro_rules, globs, asm, managed_boxes, thread_local, link_args, simd)];
// Don't link to std. We are std.
#[no_std];
#[deny(non_camel_case_types)];
#[deny(missing_doc)];
#[allow(unknown_features)];
// When testing libstd, bring in libuv as the I/O backend so tests can print
// things and all of the std::io tests have an I/O interface to run on top