mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-29 10:36:31 +00:00
1e7b32490d
This allows for building GoToSocial with [SQLite transpiled to WASM](https://github.com/ncruces/go-sqlite3) and accessed through [Wazero](https://wazero.io/).
9 lines
245 B
ArmAsm
9 lines
245 B
ArmAsm
// lifted from golang.org/x/sys unix
|
|
#include "textflag.h"
|
|
|
|
TEXT libc_poll_trampoline<>(SB), NOSPLIT, $0-0
|
|
JMP libc_poll(SB)
|
|
|
|
GLOBL ·libc_poll_trampoline_addr(SB), RODATA, $8
|
|
DATA ·libc_poll_trampoline_addr(SB)/8, $libc_poll_trampoline<>(SB)
|