mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-04 22:20:53 +01: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
265 B
ArmAsm
9 lines
265 B
ArmAsm
// lifted from golang.org/x/sys unix
|
|
#include "textflag.h"
|
|
|
|
TEXT libc_futimens_trampoline<>(SB), NOSPLIT, $0-0
|
|
JMP libc_futimens(SB)
|
|
|
|
GLOBL ·libc_futimens_trampoline_addr(SB), RODATA, $8
|
|
DATA ·libc_futimens_trampoline_addr(SB)/8, $libc_futimens_trampoline<>(SB)
|