Skip to content

Commit

Permalink
Use wasi_die throughout wasi.c
Browse files Browse the repository at this point in the history
  • Loading branch information
agoode committed Mar 11, 2024
1 parent aca7edf commit 624c94b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions runtime/platform/wasi.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,18 +161,18 @@ void GC_displayMem (void) {
}

void GC_diskBack_close (__attribute__ ((unused)) void *data) {
die ("Disk-backed heap not supported on WASI");
wasi_die ("Disk-backed heap not supported on WASI");
}

void GC_diskBack_read (__attribute__ ((unused)) void *data,
__attribute__ ((unused)) pointer buf,
__attribute__ ((unused)) size_t size) {
die ("Disk-backed heap not supported on WASI");
wasi_die ("Disk-backed heap not supported on WASI");
}

void *GC_diskBack_write (__attribute__ ((unused)) pointer buf,
__attribute__ ((unused)) size_t size) {
die ("Disk-backed heap not supported on WASI");
wasi_die ("Disk-backed heap not supported on WASI");
}

int sigemptyset (sigset_t *set) {
Expand Down

0 comments on commit 624c94b

Please sign in to comment.