Skip to content

Conversation

@dmanescu
Copy link
Contributor

Fixes #11721

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you run this test past make check yet? I think that the feature gating happens at a much earlier phase than the stability lint checking levels. You may just need to split this into two tests.

@alexcrichton
Copy link
Member

This looks great, thanks!

@brson
Copy link
Contributor

brson commented Jan 23, 2014

Will this actually prevent people from using simd? Doesn't this just make std declare that it's implementing the simd types without preventing people from using them?

@thestinger
Copy link
Contributor

@brson: we could mark those as #[experimental]

@huonw
Copy link
Contributor

huonw commented Jan 23, 2014

They are marked experimental by this PR.

@brson
Copy link
Contributor

brson commented Jan 23, 2014

Sounds good.

@huonw
Copy link
Contributor

huonw commented Jan 23, 2014

Unfortunately it looks like we don't handle cross-crate tuple structs correctly, so this currently doesn't stop people using std::unstable::simd, but when #11741 is fixed it will.

bors added a commit that referenced this pull request Jan 28, 2014
@bors bors closed this Jan 28, 2014
@bors bors merged commit 28b987b into rust-lang:master Jan 28, 2014
bors added a commit that referenced this pull request Feb 1, 2014
…lexcrichton

Fixes #11741
Added tests and removed xfail-fast from run-pass/simd-experimental which is now fixed (see #11738).
flip1995 pushed a commit to flip1995/rust that referenced this pull request Apr 18, 2024
Removed the `from_expansion` guard clause for cast lints, so that these warnings can be generated for internal macros.
flip1995 pushed a commit to flip1995/rust that referenced this pull request Apr 18, 2024
Allow `cast` lints in macros

closes: rust-lang#11738

Removed the `from_expansion` guard clause for cast lints, so that these warnings can be generated for internal macros.

changelog: allow `cast` lints in macros
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RFC: feature gate #[simd] & mark the simd types in std #[experimental]

6 participants