diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index def8897..7cf5c04 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -19,6 +19,6 @@ jobs: with: target: wasm32-unknown-unknown - run: cargo fmt -- --check - - run: cargo clippy --locked -- -D warnings + - run: cargo clippy --locked --all-targets -- -D warnings - run: cargo check --locked --target wasm32-unknown-unknown - - run: cargo clippy --locked --all-features -- -D warnings + - run: cargo clippy --locked --all-features --all-targets -- -D warnings diff --git a/examples/demo.rs b/examples/demo.rs index 02a8444..86e9366 100644 --- a/examples/demo.rs +++ b/examples/demo.rs @@ -124,7 +124,8 @@ async fn run(event_loop: EventLoop<()>, window: Window) { &queue, ) .unwrap_or_else(|err| match err { - CreationError::TracyClientNotRunning | CreationError::TracyGpuContextCreationError(_) => { + wgpu_profiler::CreationError::TracyClientNotRunning + | wgpu_profiler::CreationError::TracyGpuContextCreationError(_) => { println!("Failed to connect to Tracy. Continuing without Tracy integration."); GpuProfiler::new(GpuProfilerSettings::default()).expect("Failed to create profiler") }