diff options
| author | David Manescu <david.manescu@gmail.com> | 2014-01-23 12:25:22 +1100 |
|---|---|---|
| committer | David Manescu <david.manescu@gmail.com> | 2014-01-28 01:04:15 +1100 |
| commit | 28b987b99a32dfac004643200a9414ee832afa1c (patch) | |
| tree | 16b10ecfa89f43f12faa1ee3017cb039d818e755 /src/libstd/lib.rs | |
| parent | 4176343073d0b28380b478fea941913567ebdd5c (diff) | |
| download | rust-28b987b99a32dfac004643200a9414ee832afa1c.tar.gz rust-28b987b99a32dfac004643200a9414ee832afa1c.zip | |
Feature gate #[simd]
Fixes #11721
Diffstat (limited to 'src/libstd/lib.rs')
| -rw-r--r-- | src/libstd/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 4f13a517878..17b6c24773a 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -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 |
