I'm trying to build the wasm32 example from the README, but linking fails. The error message suggests that wasm-ld isn't receiving the --no-entry flag. I'm using commit 3fbef59 of nlvm.
Reproduction
Following the read-me, I put the following files in a directory.
I'm trying to build the wasm32 example from the README, but linking fails. The error message suggests that
wasm-ld
isn't receiving the--no-entry
flag. I'm using commit 3fbef59 ofnlvm
.Reproduction
Following the read-me, I put the following files in a directory.
panicoverride.nim
myfile.nim
Then I ran
nlvm
.Even though I passed the
--passl:--no-entry
flag, linking failed with the message "entry symbol not defined."