-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor hyperdrive-wasm build script. (#1654)
* copy build script * add wasm-pkg-build * use async/await * elevate error handling * don't worry about backups for now * add cargo.toml * refactor build script * update package files * cleanup * pr fixes * remove initSync * use esm-sync * remove initSync * update build script * run yarn * fix import errors * remove wasm pin * add comments
- Loading branch information
1 parent
68be6e6
commit a1ba5b1
Showing
14 changed files
with
2,783 additions
and
2,452 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
import * as fixedPoint from "@delvtech/fixed-point-wasm"; | ||
import { beforeEach } from "vitest"; | ||
|
||
beforeEach(() => { | ||
// This is safe to call multiple times. Internally it will return early if | ||
// the WASM module has already been initialized. | ||
fixedPoint.initSync(fixedPoint.wasmBuffer); | ||
}); | ||
beforeEach(() => {}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.