https://github.com/pannous/test-lld-wasm
Minimal example of how to merge/concat/link/combine two wasm files.
https://github.com/pannous/test-lld-wasm
clang example linking lld minimal wasm wasm-ld webassembly
Last synced: about 1 year ago
JSON representation
Minimal example of how to merge/concat/link/combine two wasm files.
- Host: GitHub
- URL: https://github.com/pannous/test-lld-wasm
- Owner: pannous
- Created: 2020-11-29T16:53:59.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-08T12:41:50.000Z (about 5 years ago)
- Last Synced: 2025-02-12T06:38:13.612Z (about 1 year ago)
- Topics: clang, example, linking, lld, minimal, wasm, wasm-ld, webassembly
- Language: Shell
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# test-lld-wasm
try to merge/concat/link/combine two wasm files via wasm-ld
`compile.sh`
`compile-via-wat.sh`
Maybe it's not a bug, but incorrect usage from our side. We ran into similar problems as this blog post:
```
wasm-ld --entry main lib.wasm main.wasm -o linked.wasm
wasm-ld: error: entry symbol not defined (pass --no-entry to supress): main
```
Update: It works