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

library 'System' not found on macOS #6745

Open
ayazhafiz opened this issue May 13, 2024 · 1 comment
Open

library 'System' not found on macOS #6745

ayazhafiz opened this issue May 13, 2024 · 1 comment
Labels
code gen Generating machine code macos macOS-specific issues

Comments

@ayazhafiz
Copy link
Sponsor Member

roc build B.roc where B.roc is

app [main] {
    pf: platform "https://github.com/roc-lang/basic-cli/releases/download/0.10.0/vNe6s9hWzoTZtFmNkvEICPErI9ptji_ySjicO6CkucY.tar.br",
}

import pf.Stdout
import pf.Task exposing [Task]

First : {}
Second : First

main =
    testFunc {}

testFunc : Second -> Task {} [StdoutErr Stdout.Err]
testFunc = \{} ->
    Stdout.line "123"

yields

ld: library 'System' not found
B: No such file or directory
thread 'main' panicked at crates/compiler/build/src/program.rs:1043:17:
not yet implemented: gracefully handle `ld` (or `zig` in the case of wasm with --optimize) returning exit code Some(1)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

System information:

Darwin ayazs-mbp.lan 23.4.0 Darwin Kernel Version 23.4.0: Wed Feb 21 21:44:43 PST 2024; root:xnu-10063.101.15~2/RELEASE_ARM64_T6000 arm64 arm Darwin
@ayazhafiz ayazhafiz added code gen Generating machine code macos macOS-specific issues labels May 13, 2024
@Anton-4
Copy link
Contributor

Anton-4 commented May 13, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code gen Generating machine code macos macOS-specific issues
Projects
None yet
Development

No branches or pull requests

2 participants