Skip to content

Commit 4b36430

Browse files
committed
Move simd to core
1 parent ddec001 commit 4b36430

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

src/libcore/lib.rs

+6-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
html_root_url = "http://static.rust-lang.org/doc/master")]
4343

4444
#![no_std]
45-
#![feature(globs, macro_rules, managed_boxes, phase)]
45+
#![feature(globs, macro_rules, managed_boxes, phase, simd)]
4646
#![deny(missing_doc)]
4747

4848
#[cfg(test)] extern crate realcore = "core";
@@ -117,6 +117,11 @@ pub mod slice;
117117
pub mod str;
118118
pub mod tuple;
119119
pub mod fmt;
120+
#[experimental]
121+
pub mod simd;
122+
123+
#[cfg(stage0, not(test))]
124+
pub mod owned;
120125

121126
// FIXME: this module should not exist. Once owned allocations are no longer a
122127
// language type, this module can move outside to the owned allocation
File renamed without changes.

src/libstd/lib.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
106106
html_root_url = "http://static.rust-lang.org/doc/master")]
107107
#![feature(macro_rules, globs, asm, managed_boxes, thread_local, link_args,
108-
simd, linkage, default_type_params, phase, concat_idents, quad_precision_float)]
108+
linkage, default_type_params, phase, concat_idents, quad_precision_float)]
109109

110110
// Don't link to std. We are std.
111111
#![no_std]
@@ -154,6 +154,7 @@ pub use core::ptr;
154154
pub use core::raw;
155155
pub use core::tuple;
156156
pub use core::result;
157+
pub use core::simd;
157158

158159
// Run tests with libgreen instead of libnative.
159160
//
@@ -238,8 +239,6 @@ pub mod io;
238239
pub mod path;
239240
pub mod fmt;
240241
pub mod cleanup;
241-
#[experimental]
242-
pub mod simd;
243242

244243
/* Unsupported interfaces */
245244

src/libstd/unstable/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ pub use core::finally;
1616

1717
pub mod dynamic_lib;
1818

19-
pub mod finally;
2019
pub mod sync;
2120
pub mod mutex;
2221

0 commit comments

Comments
 (0)