Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

literal: auto enable SIMD on Rust stable 1.27+ #490

Merged
merged 1 commit into from Jun 19, 2018
Merged

Conversation

BurntSushi
Copy link
Member

This commit removes the need to use the unstable feature to enable
SIMD optimizations. We add a "version sniffer" to the build.rs script
to detect if Rust version 1.27 or newer is being used, and if so, enable
the SIMD optimizations.

The 'unstable' feature is now a no-op, but we keep it for backwards
compatibility. We also may use it again some day.

This commit removes the need to use the `unstable` feature to enable
SIMD optimizations. We add a "version sniffer" to the `build.rs` script
to detect if Rust version 1.27 or newer is being used, and if so, enable
the SIMD optimizations.

The 'unstable' feature is now a no-op, but we keep it for backwards
compatibility. We also may use it again some day.
@BurntSushi BurntSushi merged commit e455d53 into master Jun 19, 2018
@BurntSushi BurntSushi deleted the ag/autosimd branch June 21, 2018 20:40
BurntSushi added a commit that referenced this pull request Jun 21, 2018
This was done in #490, but the documentation wasn't updated.

Closes #491
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.

None yet

1 participant