Skip to content

Build broken on MacOs #28

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
GaryBoone opened this issue Aug 16, 2021 · 4 comments
Closed

Build broken on MacOs #28

GaryBoone opened this issue Aug 16, 2021 · 4 comments

Comments

@GaryBoone
Copy link

GaryBoone commented Aug 16, 2021

Did something just update in the past few hours that breaks the build on macOs? My code now fails to compile, showing this error:

Basic Block in function '_ZN7lalrpop3tok9Tokenizer10take_until17h0db094dbe1039a64E' does not have terminator!
label %9
in function _ZN7lalrpop3tok9Tokenizer10take_until17h0db094dbe1039a64E
LLVM ERROR: Broken function found, compilation aborted!
error: could not compile `lalrpop`

...which $ cargo tree shows is being imported by starlark-rust:

├── starlark v0.4.0 (https://github.com/facebookexperimental/starlark-rust#094f681e)
...
│   ├── lalrpop-util v0.19.6
│   │   └── regex v1.5.4 (*)
@ndmitchell
Copy link
Contributor

Unfortunately this is a bug in the latest Rust nightly - rust-lang/rust#88043. If you specify an older nightly in the Rust tool chain it should work for you.

@GaryBoone
Copy link
Author

Ok, this works:

$ rustup default nightly-2021-08-15

Even though the bug is not in starlark-rust, I propose leaving this bug open for visibility to other starlark-rust users who might have the same problem.

BTW, speaking of stability, are there plans for a new release of starlark-rust and starlark-module? Following this issue, I'm using HEAD to pull the code that removes some heap arguments. Depending on a released version would reduce change risk...

@ndmitchell
Copy link
Contributor

Yep, happy to keep the task open. Although my CI tests just started passing, so I think if you try nightly again now it should work?

I'll put it on my todo list to make a starlark-rust release this week. Makes sense to do another one.

@ndmitchell
Copy link
Contributor

Closing this issue, but tracking the release as #29

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

2 participants