I'm getting this when I try to build:
ld: file not found: platform/macos-arm64.o
I have the roc
binary as a symlink. could that be why?
What is your platform you are building against?
It's the virtual-dom-wip example
I know that example isn't working yet, but this is not the error message I was expecting.
Oh, virtual-dom-wip-example targets wasm
so probably need --target=wasm32
We've not been able to get that to type check. Its been a really good stress test for the compiler and lambda sets in particular. I think this issue is outstanding https://github.com/roc-lang/roc/issues/5749
roc build --target=wasm32 examples/virtual-dom-wip/example-client.roc
Gives
thread '<unnamed>' panicked at 'no lambda set found for (`21.IdentId(24)`, []): LambdaSet {
set: [],
args: [
InLayout(
217,
),
InLayout(
140,
),
],
ret: InLayout(
217,
),
representation: InLayout(VOID),
full_layout: InLayout(
264,
),
}', crates/compiler/mono/src/layout.rs:1597:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Last updated: Jul 05 2025 at 12:14 UTC