fiatjaf on Nostr: reis I've implemented the missing RWMutex methods on TinyGo and now when I try to ...
reis (npub1837…cgnm) I've implemented the missing RWMutex methods on TinyGo and now when I try to compile a program with go-nostr I get these errors:
wasm-ld: error: /tmp/tinygo391911041/main.o: undefined symbol: reflect.unsafe_New
wasm-ld: error: /tmp/tinygo391911041/main.o: undefined symbol: reflect.typedmemmove
wasm-ld: error: /tmp/tinygo391911041/main.o: undefined symbol: reflect.mapassign
wasm-ld: error: /tmp/tinygo391911041/main.o: undefined symbol: reflect.typedslicecopy
wasm-ld: error: /tmp/tinygo391911041/main.o: undefined symbol: reflect.unsafe_NewArray
wasm-ld: error: /tmp/tinygo391911041/main.o: undefined symbol: reflect.makemap
Does this mean we can't do JSON on TinyGo?
Published at
2025-01-03 04:50:32Event JSON
{
"id": "00002a50af64eeb59e156c2c69460c5421483a226e5a8099c42195553f002ab1",
"pubkey": "3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d",
"created_at": 1735879832,
"kind": 1,
"tags": [
[
"p",
"3c7d12a6c2f71fe9ca2527216f529a137bb0f2eb018b18f30003933b9532013e"
],
[
"nonce",
"22797",
"16"
]
],
"content": "nostr:npub183739fkz7u07nj39yusk7556zdampuhtqx933ucqqwfnh9fjqylq0pcgnm I've implemented the missing RWMutex methods on TinyGo and now when I try to compile a program with go-nostr I get these errors:\n\nwasm-ld: error: /tmp/tinygo391911041/main.o: undefined symbol: reflect.unsafe_New\nwasm-ld: error: /tmp/tinygo391911041/main.o: undefined symbol: reflect.typedmemmove\nwasm-ld: error: /tmp/tinygo391911041/main.o: undefined symbol: reflect.mapassign\nwasm-ld: error: /tmp/tinygo391911041/main.o: undefined symbol: reflect.typedslicecopy\nwasm-ld: error: /tmp/tinygo391911041/main.o: undefined symbol: reflect.unsafe_NewArray\nwasm-ld: error: /tmp/tinygo391911041/main.o: undefined symbol: reflect.makemap\n\nDoes this mean we can't do JSON on TinyGo?",
"sig": "2095abf5b245c8b1c476703e5dd1ef83baa361f27c47bacd350807bb7821622707012892eb1fa38d76893d38490e04b5bf9bcc038792f8ea9c327604f29f2cdc"
}