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

Running roc-start just shows help #68

Open
favetelinguis opened this issue Dec 15, 2024 · 5 comments
Open

Running roc-start just shows help #68

favetelinguis opened this issue Dec 15, 2024 · 5 comments

Comments

@favetelinguis
Copy link

I just built the latest master on Linux with:
roc build src/main.roc --output roc-start --linker=legacy

Now no matter what option or command I use I just see the help screen overview. Is this a know issue on master or am I doing something wrong?

@imclerran imclerran reopened this Dec 17, 2024
@imclerran
Copy link
Owner

Hmm... I haven't built on Linux. I will have to check this out and see if I can reproduce. I don't experience this on MacOS. Are you also on the latest roc nightly?

@imclerran
Copy link
Owner

Okay, looks like this is related to roc-lang/basic-cli#82. I believe if you use the surgical linker, you shouldn't have any issues.

@favetelinguis
Copy link
Author

Yes that looks to be the issue. However I am getting this error when using other linker. Guess I am stuck until the Roc issue is fixed.

The surgical linker currently has issue #3609 and would fail linking your app.
Please use `--linker=legacy` to avoid the issue for now.

@imclerran
Copy link
Owner

Sorry to hear we're at a dead end here. Hopefully purity inference fixes this soon... 🤞

@imclerran
Copy link
Owner

This is fixed with basic-cli v0.18.0 - however, the API is in flux, with planned changes for Http request already merged. Additionally, roc-ansi, roc-json, and rvn have not yet been fully upgraded to S_C / PI / PNC. Once the dependencies have upgraded/stabilized, can begin work on upgrading roc-start to basic-cli >= v0.18.0, and this issue should be resolved.

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