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

Link error when running cargo build under nix develop #178

Open
alexozer opened this issue Apr 8, 2024 · 1 comment
Open

Link error when running cargo build under nix develop #178

alexozer opened this issue Apr 8, 2024 · 1 comment

Comments

@alexozer
Copy link

alexozer commented Apr 8, 2024

Hi, was trying to build the platform with cargo build and am getting this link error: https://gist.github.com/alexozer/2ab855dc7f37e43c1236eea60ec3fb5c

This seems to happen both inside nix develop and outside.

This is a M2 Macbook Air, with LLVM 16 installed via Homebrew if it matters.

@Anton-4
Copy link
Collaborator

Anton-4 commented Apr 8, 2024

Hi @alexozer :)

The Roc CLI currently takes care of building the platform, so I would not recommend running cargo build in the platform yourself. Instead you can do roc my_app_using_basic_cli.roc and to prevent needless rebuilding after, you can do roc my_app_using_basic_cli.roc --prebuilt-platform.

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