Skip to content
This repository has been archived by the owner on Nov 2, 2022. It is now read-only.

Commit

Permalink
- Node.js 18 暫定対応のRevert
Browse files Browse the repository at this point in the history
  emscripten/emsdk 3.1.13 (2022-06-04) にて修正済
  cf. emscripten-core/emscripten#16917
  • Loading branch information
mizar committed Jun 20, 2022
1 parent dd4cf3f commit f984f77
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions script/wasm_build.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,7 @@ async function runRepl(yaneuraou) {
}
async function main(argv) {
const wasmBinary = await fs.promises.readFile(path.join(__dirname, "./lib/yaneuraou.${pkgobj.name}.wasm"));
const yaneuraou = await YaneuraOu({ wasmBinary });
const yaneuraou = await YaneuraOu();
const FS = yaneuraou.FS;
if (USI_BOOK_FILE) {
const buffer = await fs.promises.readFile(USI_BOOK_FILE);
Expand Down Expand Up @@ -204,8 +203,7 @@ async function runRepl(yaneuraou: YaneuraOuModule) {
}
async function main(argv: string[]) {
const wasmBinary = await fs.promises.readFile(path.join(__dirname, "./lib/yaneuraou.${pkgobj.name}.wasm"));
const yaneuraou: YaneuraOuModule = await YaneuraOu({ wasmBinary });
const yaneuraou: YaneuraOuModule = await YaneuraOu();
const FS = yaneuraou.FS;
if (USI_BOOK_FILE) {
const buffer = await fs.promises.readFile(USI_BOOK_FILE);
Expand Down

0 comments on commit f984f77

Please sign in to comment.