gpu: test exporting WebGPU API without Dawn symbol conflict
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
96221fa13e
commit
d88eeb27c0
2 changed files with 2 additions and 3 deletions
|
|
@ -1203,6 +1203,5 @@ pub const Interface = gpu.Interface(struct {
|
||||||
});
|
});
|
||||||
|
|
||||||
test "dawn_impl" {
|
test "dawn_impl" {
|
||||||
_ = Interface;
|
_ = gpu.Export(Interface);
|
||||||
// _ = gpu.Export(Interface);
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2438,5 +2438,5 @@ pub const StubInterface = Interface(struct {
|
||||||
});
|
});
|
||||||
|
|
||||||
test "stub" {
|
test "stub" {
|
||||||
_ = Export(StubInterface);
|
_ = StubInterface;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue