diff options
author | 2023-08-07 18:51:16 -0700 | |
---|---|---|
committer | 2023-08-07 18:51:16 -0700 | |
commit | f2f227720b3ffe1797a0a4e500e9a9a639167dc6 (patch) | |
tree | a3fab7a9c55775c8bd637161aa2551a7659a21b8 /root_wasm.zig | |
parent | 0b183beb51367004795d8a431eb06bb2fa4f8250 (diff) | |
download | bun-f2f227720b3ffe1797a0a4e500e9a9a639167dc6.tar.gz bun-f2f227720b3ffe1797a0a4e500e9a9a639167dc6.tar.zst bun-f2f227720b3ffe1797a0a4e500e9a9a639167dc6.zip |
WASM test analyzer (#4043)
* wasm
* WASM test scanner
* Update Makefile
* Update Makefile
* Configurable heap limit
* slightly better error
* Update js_parser.zig
* Update path.test.js
* Update node.mjs
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
Diffstat (limited to 'root_wasm.zig')
-rw-r--r-- | root_wasm.zig | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/root_wasm.zig b/root_wasm.zig new file mode 100644 index 000000000..f04ceb015 --- /dev/null +++ b/root_wasm.zig @@ -0,0 +1,26 @@ +pub usingnamespace @import("src/main_wasm.zig"); + +pub const bun = @import("src/bun.zig"); + +pub const content = struct { + pub const error_js_path = "packages/bun-error/dist/index.js"; + pub const error_js = @embedFile(error_js_path); + + pub const error_css_path = "packages/bun-error/dist/bun-error.css"; + pub const error_css_path_dev = "packages/bun-error/bun-error.css"; + + pub const error_css = @embedFile(error_css_path); +}; + +pub const completions = struct {}; +pub const is_bindgen = true; +pub const JavaScriptCore = struct { + pub fn markBinding(_: @import("std").builtin.SourceLocation) void { + unreachable; + } + + pub const ZigString = struct {}; +}; + +pub const C = struct {}; +pub const build_options = @import("build_options"); |