From 195746dedd623a94d43dabec31175335b1efdc62 Mon Sep 17 00:00:00 2001 From: yhirose Date: Tue, 2 Jan 2024 08:48:16 -0500 Subject: [PATCH] Update playground --- docs/build.sh | 1 + docs/native.wasm | Bin 425263 -> 424664 bytes 2 files changed, 1 insertion(+) mode change 100644 => 100755 docs/build.sh diff --git a/docs/build.sh b/docs/build.sh old mode 100644 new mode 100755 index ea1147d..2bb5d4e --- a/docs/build.sh +++ b/docs/build.sh @@ -1,2 +1,3 @@ +#!/usr/bin/env bash source ~/Projects/emsdk/emsdk_env.sh emcc -std=c++17 -O3 --bind -o native.js -s ALLOW_MEMORY_GROWTH native.cpp diff --git a/docs/native.wasm b/docs/native.wasm index 690f8927484db6603e16760df08b1f6705ea575f..8e205b91e01e6e09e8c6f7b82cd0cd9be3104ee1 100755 GIT binary patch delta 9228 zcmcgS33!x6vQt(4&m@^in2-cANr1_K5HLV+F(8LzP!4qw50C{xKoK!fSFTk+NWy&x z1P19KS2*N01O{l3a0-Hm5F`j9N07rH$R)QfzUqIHAnHEX?|nYTkRAnTMq)f;)GC}{v@xM%9njabrx$UcOuS&ydxUZ9a zVzqftERw$!XT)jIx$`OUjW{7LV-f#%7B1m&aZD7$cfL?ZZ8+^~?5N!{2d~prnuTZR zG@YW8^bILIK}B?&=HXE~LSNHi`ieRqqJxx;d+Br9O`p+D`h+Czp#!2&d`dfLJ2iK? zuFz$=L>K7-eNX4^r=jZ$+DCh!bLRq@hRt2u#K&TbXzto9 zHi?bGwLz>GABlBh7w$qO)`-=@FIEcI3b9<|iVwxd__42gXx;Qp=o6F0B#|X1iV0#H zZKCy*ON(g@tzzY zJHP(=y`5ah)g!CTk$XBrMW*l-hB|HY@g^m^=KIctK2Ux*PQ)2O6LC2Ixuyq&9J%SQ z8x|36j77T}<)!{u(f>k~rxAYe<;CxV{r;hzaR6WX!m9OzFa7+csfN%TmT-*ni0rva~)|1LVf?iOzFX6>=O;X&uSzK=Fkf$_e>8=Aphf6T^m03Y~jZ5je| z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