Skip to content

bug: build error for cairo-lang-sierra #2904

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

Closed
tarrencev opened this issue Apr 21, 2023 · 0 comments · Fixed by #2905
Closed

bug: build error for cairo-lang-sierra #2904

tarrencev opened this issue Apr 21, 2023 · 0 comments · Fixed by #2905
Labels
bug Something isn't working

Comments

@tarrencev
Copy link
Contributor

tarrencev commented Apr 21, 2023

Bug Report

Cairo version:

alpha7

Current behavior:

Using as a dependency causes issue:

error: failed to run custom build command for `cairo-lang-sierra v1.0.0-alpha.7`

Caused by:
  process didn't exit successfully: `/Users/tarrence/code/katana/target/debug/build/cairo-lang-sierra-049fee237d4c6ae7/build-script-build` (exit status: 1)
  --- stdout
  processing file `/Users/tarrence/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-sierra-1.0.0-alpha.7/src/parser.lalrpop`
  /Users/tarrence/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-sierra-1.0.0-alpha.7/src/parser.lalrpop:207:5: 207:16 error: invalid regular expression: regex parse error:
      \s*
      ^^
  error: Unicode-aware Perl class not found (make sure the unicode-perl feature is enabled)

  --- stderr
        r"\s*" => {},
        ~~~~~~~~~~~~
warning: build failed, waiting for other jobs to finish...

Expected behavior:

No error

Steps to reproduce:

Import + build

Other information:

It seems this is likely a result of this version bump here: rust-lang/regex@4e29fce

See: rust-lang/regex#982

We should fully specify the dep version here:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant