refraction-networking / watm

WebAssembly Transport Module
GNU General Public License v3.0
6 stars 1 forks source link

new: WATM v1 #6

Closed gaukas closed 7 months ago

gaukas commented 7 months ago

v1: based on v0, we renamed and redesigned tons of interfaces, introduced new working modes, and fixed potential bugs.

gaukas commented 7 months ago
wasm-ld: error: /tmp/tinygo2876025176/main.o: undefined symbol: runtime.getAuxv
failed to run tool: wasm-ld
error: failed to link /tmp/tinygo2876025176/main: exit status 1
Error: Process completed with exit code 1.

Weird. Theoretically this shouldn't happen with cpu package properly replaced.

Trying to reproduce locally. Maybe something is missing?

gaukas commented 7 months ago

I see, we are (indirectly) using v0.19.0, but the replace directive replaces only v0.16.0.

gaukas commented 7 months ago

... maybe we can put the dependencies change in one commit, and code changes in others?

That's the ideal case. For this repo, since the build relies on replace directive and the old go.mod will not build for the new content in v1 directory, we have to make all changes before any local test would pass.