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

Seems like feature selection is broken #19

Open
pedrocr opened this issue Apr 2, 2018 · 0 comments
Open

Seems like feature selection is broken #19

pedrocr opened this issue Apr 2, 2018 · 0 comments

Comments

@pedrocr
Copy link

pedrocr commented Apr 2, 2018

I'm enabling this crate with:

#[runtime_target_feature("+avx2")]

This gives me:

warning: #[target_feature = ".."] is deprecated and will eventually be removed, use #[target_feature(enable = "..")] instead
  --> src/main.rs:17:1
   |
17 | #[runtime_target_feature("+avx2")]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

'++avx2' is not a recognized feature for this target (ignoring feature)
'++avx2' is not a recognized feature for this target (ignoring feature)
'++avx2' is not a recognized feature for this target (ignoring feature)
'++avx2' is not a recognized feature for this target (ignoring feature)

but if I remove the + I get:

error: custom attribute panicked
  --> src/main.rs:17:1
   |
17 | #[runtime_target_feature("avx2")]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: message: feature must begin with '+' or '-'

so it seems something along the line added an extra + breaking things.

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

No branches or pull requests

1 participant