We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbbf74e commit 7ae7778Copy full SHA for 7ae7778
packages/npm-packages/ruby-wasm-wasi/test/package.test.ts
@@ -43,4 +43,13 @@ describe("Packaging validation", () => {
43
vm.eval(`require "English"`);
44
}
45
});
46
+
47
+ test("ruby.debug+stdlib.wasm has debug info", async () => {
48
+ const binary = await fs.readFile(
49
+ path.join(__dirname, `./../dist/ruby.debug+stdlib.wasm`)
50
+ );
51
+ const mod = await WebAssembly.compile(binary.buffer);
52
+ const nameSections = WebAssembly.Module.customSections(mod, "name");
53
+ expect(nameSections.length).toBe(1);
54
+ })
55
0 commit comments