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

RUSTFLAGS="..." cargo .. should recompile std lib with flags enabled #5547

Closed
gnzlbg opened this issue May 18, 2018 · 1 comment
Closed

RUSTFLAGS="..." cargo .. should recompile std lib with flags enabled #5547

gnzlbg opened this issue May 18, 2018 · 1 comment
Labels
C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` Z-build-std Nightly: build-std

Comments

@gnzlbg
Copy link
Contributor

gnzlbg commented May 18, 2018

This is required for rust-san to work properly, and also for enabling some more efficient algorithms in std::simd that require specific target features (SSE4, AVX, NEON, etc.). Adding Iterator::is_sorted would also benefit from SSE4 and AVX. It currently does run-time feature detection but it could avoid that if std was compiled with the appropriate flags.

@alexcrichton alexcrichton added the C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` label May 18, 2018
@Eh2406 Eh2406 added the Z-build-std Nightly: build-std label Sep 23, 2019
@Eh2406
Copy link
Contributor

Eh2406 commented Sep 23, 2019

The current conversation is rust-lang/wg-cargo-std-aware#43
If that conversation is not the right issue, then that is the new place to open an issue.
Closing for now, so as to unify the conversations.

@Eh2406 Eh2406 closed this as completed Sep 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` Z-build-std Nightly: build-std
Projects
None yet
Development

No branches or pull requests

3 participants