From aa609a068a34d00f371069cc1fce620655504e7d Mon Sep 17 00:00:00 2001 From: Oriol Brufau Date: Tue, 11 Feb 2025 16:44:36 +0100 Subject: [PATCH] Let script/webgpu feature imply script_traits/webgpu (#35424) Fixes error when running `cargo clippy -r -p script --features webgpu`. Signed-off-by: Oriol Brufau --- components/script/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/script/Cargo.toml b/components/script/Cargo.toml index 57a5576e8ea..5875edbccaa 100644 --- a/components/script/Cargo.toml +++ b/components/script/Cargo.toml @@ -22,7 +22,7 @@ webgl_backtrace = ["canvas_traits/webgl_backtrace"] js_backtrace = [] refcell_backtrace = ["accountable-refcell"] webxr = ["webxr-api", "script_bindings/webxr"] -webgpu = ["script_bindings/webgpu"] +webgpu = ["script_bindings/webgpu", "script_traits/webgpu"] [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(crown)'] }