Skip to content

Commit

Permalink
Update stdsimd to undo an accidental stabilization
Browse files Browse the repository at this point in the history
Closes #52403
  • Loading branch information
alexcrichton committed Jul 21, 2018
1 parent 5ba2184 commit d77defc
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 9 deletions.
3 changes: 0 additions & 3 deletions src/libcore/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,6 @@ macro_rules! vector_impl { ($([$f:ident, $($args:tt)*]),*) => { $($f!($($args)*)
#[cfg(not(stage0))] // allow changes to how stdsimd works in stage0
mod coresimd;

#[unstable(feature = "stdsimd", issue = "48556")]
#[cfg(not(stage0))]
pub use coresimd::simd;
#[stable(feature = "simd_arch", since = "1.27.0")]
#[cfg(not(stage0))]
pub use coresimd::arch;
4 changes: 0 additions & 4 deletions src/libstd/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -532,12 +532,8 @@ mod stdsimd;
#[cfg(not(stage0))]
mod coresimd {
pub use core::arch;
pub use core::simd;

This comment has been minimized.

Copy link
@dragostis

dragostis Aug 29, 2018

How is one supposed to use std::simd since this was removed?

This comment has been minimized.

Copy link
@alexcrichton

alexcrichton Aug 29, 2018

Author Member

The contents here are published as packed_simd on crates.io

}

#[unstable(feature = "stdsimd", issue = "48556")]
#[cfg(all(not(stage0), not(test)))]
pub use stdsimd::simd;
#[stable(feature = "simd_arch", since = "1.27.0")]
#[cfg(all(not(stage0), not(test)))]
pub use stdsimd::arch;
Expand Down
2 changes: 1 addition & 1 deletion src/stdsimd
1 change: 0 additions & 1 deletion src/test/rustdoc-js/multi-query.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,5 @@ const EXPECTED = {
{ 'path': 'std', 'name': 'str' },
{ 'path': 'std', 'name': 'u8' },
{ 'path': 'std::ffi', 'name': 'CStr' },
{ 'path': 'std::simd', 'name': 'u8x2' },
],
};

0 comments on commit d77defc

Please sign in to comment.