gpu: test exporting WebGPU API without Dawn symbol conflict

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-30 22:34:44 -07:00 committed by Stephen Gutekanst
parent 96221fa13e
commit d88eeb27c0
2 changed files with 2 additions and 3 deletions

View file

@ -1203,6 +1203,5 @@ pub const Interface = gpu.Interface(struct {
}); });
test "dawn_impl" { test "dawn_impl" {
_ = Interface; _ = gpu.Export(Interface);
// _ = gpu.Export(Interface);
} }

View file

@ -2438,5 +2438,5 @@ pub const StubInterface = Interface(struct {
}); });
test "stub" { test "stub" {
_ = Export(StubInterface); _ = StubInterface;
} }