小程序默认情况下wasm不支持GC和externref,是否有参数开启或者在未来支持?
const gcTest = [0, 97, 115, 109, 1, 0, 0, 0, 1, 5, 1, 95, 1, 120, 0];
WebAssembly.validate(new Uint8Array(gcTest)) // <- output is false, 说明 不能支持gc
const refrenceTypes = [0,97,115,109,1,0,0,0,1,12,2,96,3,111,127,127,1,127,96,1,111,0,2,21,1,11,102,117,116,117,114,101,45,119,97,115,105,5,119,114,105,116,101,0,0,3,2,1,1,5,3,1,0,1,7,18,2,6,109,101,109,111,114,121,2,0,5,104,101,108,108,111,0,1,10,14,
1,12,0,32,0,65,194,0,65,24,16,0,26,11,11,31,1,0,65,194,0,11,24,72,101,108,108,111,44,32,82,101,102,101,114,101,110,99,101,32,84,121,112,101,115,33,10]
WebAssembly.validate(new Uint8Array(refrenceTypes)) // <- output is false, 说明 不能支持外部对象