File size: 185 Bytes
00df61d
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
#include <emscripten.h>
#include <stdio.h>

int main() {
  int is_shared = EM_ASM_INT(return wasmMemory.buffer instanceof SharedArrayBuffer);
  printf("%d\n", is_shared);
  return 0;
}