Testing latest pari + WASM + node.js... and it works?! Wow.
1#include <stdio.h> 2#include <gmp.h> 3void f(void) { mpn_gcdext(NULL,NULL, NULL, NULL, 0, NULL, 0); } 4int main() 5{ 6 if (sizeof(mp_limb_t) == sizeof(long *)) 7 printf("%s\n", gmp_version); 8 else 9 printf("unsupported\n"); 10 return 0; 11} 12 13