Skip to content

RUSTFLAGS="-C target-feature=" doesn't seems to be taken into account #1734

Description

@wiiznokes

I'm building bindings the the rnnoise c library.
Using cargo build, i get this warning:
warning: rnnoise2-sys@0.1.0: 163 | #warning "Only SSE and SSE2 are available. On newer machines, enable SSSE3/AVX/AVX2 using -march= to get better performance"

When using RUSTFLAGS="-C target-feature=+ssse3,+avx,+avx2" cargo build --release, there is still warning.

When using CFLAGS="-march=native" cargo build --release, no warning

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions