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

setup function could use cfg(target_feature) to eliminate some checks #4

Open
parched opened this issue Jun 7, 2017 · 0 comments
Open

Comments

@parched
Copy link
Owner

parched commented Jun 7, 2017

If the user compiles with CPU native, a lot of the feature checks aren't needed because the compiler already knows about them with #[cfg(target_feature = "x")]. In the extreme case the macro should just be a nop if all the features are available compile time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant