mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
suppress build warnings when disabling webgpu and webxr (#35379)
Signed-off-by: webbeef <me@webbeef.org>
This commit is contained in:
parent
654df4c8b7
commit
827012fc08
8 changed files with 26 additions and 15 deletions
|
@ -14,6 +14,7 @@ pub(crate) trait Convert<T> {
|
|||
/// to convert between two types that are not defined in the script crate.
|
||||
/// This is intended to be used on dict/enum types generated from WebIDL once
|
||||
/// those types are moved out of the script crate.
|
||||
#[cfg(feature = "webgpu")]
|
||||
pub(crate) trait TryConvert<T> {
|
||||
type Error;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue