Expect the unwind table attribute in the --target-cpu test's attribute group

This commit is contained in:
Chris Tate
2026-10-26 22:24:00 -05:00
parent e1eead091f
commit 47fd397395
+1 -1
View File
@@ -54,7 +54,7 @@ test.runIf(process.platform === "linux" && process.arch === "x64")(
expect(baseline).not.toContain("sanitize_address");
expect(await build(["--target-cpu=baseline"])).toBe(baseline);
const v3 = await build(["--target-cpu=x86-64-v3"]);
expect(v3).toMatch(/^attributes #0 = \{ "target-cpu"="x86-64-v3" \}$/m);
expect(v3).toMatch(/^attributes #0 = \{ uwtable "target-cpu"="x86-64-v3" \}$/m);
if (runsV3) expect((await execFileAsync(outPath)).stdout).toBe(expected);
// The bootstrap's cached route builds without a level.
expect(await build([], true)).toBe(baseline);