Skip to content

regex build broken on nightly since 1.0.1 #502

Closed
@ramosbugs

Description

@ramosbugs

The build seems to be broken on nightly:

$ cargo +nightly check
error[E0658]: macro is_x86_feature_detected! is unstable (see issue #0)
  --> src/vector/avx2.rs:11:12
   |
11 |         if is_x86_feature_detected!("avx2") {
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: add #![feature(stdsimd)] to the crate attributes to enable

error[E0658]: macro is_x86_feature_detected! is unstable (see issue #0)
  --> src/vector/ssse3.rs:23:12
   |
23 |         if is_x86_feature_detected!("ssse3") {
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: add #![feature(stdsimd)] to the crate attributes to enable

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0658`.
error: Could not compile `regex`.

To learn more, run the command again with --verbose.

1.0.0 seems to build fine, but 1.0.1 and 1.0.2 show the above error. Looks to be related to #490.

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