mirror of
https://github.com/denoland/deno.git
synced 2025-02-18 19:33:00 -05:00
build: run clippy with --all-features (#18115)
This commit is contained in:
parent
fb57043c2d
commit
63d78805be
2 changed files with 22 additions and 20 deletions
|
@ -13,8 +13,10 @@ use std::borrow::Cow;
|
|||
use wgpu_types::SurfaceStatus;
|
||||
|
||||
pub fn init_surface(unstable: bool) -> Extension {
|
||||
Extension::builder("deno_webgpu_surface")
|
||||
.dependencies(vec!["deno_webidl", "deno_web", "deno_webgpu"])
|
||||
Extension::builder_with_deps(
|
||||
"deno_webgpu_surface",
|
||||
&["deno_webidl", "deno_web", "deno_webgpu"],
|
||||
)
|
||||
.esm(include_js_files!(
|
||||
"03_surface.js",
|
||||
"04_surface_idl_types.js",
|
||||
|
|
|
@ -135,7 +135,7 @@ async function clippy() {
|
|||
console.log("clippy");
|
||||
|
||||
const currentBuildMode = buildMode();
|
||||
const cmd = ["clippy", "--all-targets", "--locked"];
|
||||
const cmd = ["clippy", "--all-targets", "--all-features", "--locked"];
|
||||
|
||||
if (currentBuildMode != "debug") {
|
||||
cmd.push("--release");
|
||||
|
|
Loading…
Add table
Reference in a new issue