Fix: Prevent secondary panics during backtrace collection on Windows and handle minidump initialization failures #4670
ci.yml
on: pull_request
Detect Changes
5s
Typecheck
1m 5s
Format (Biome)
8s
Format (Cargo)
16s
Lint (Biome)
13s
Verify Tauri plugin versions
Matrix: Build Desktop
Matrix: Clippy
Matrix: Rust cache
Annotations
2 errors and 1 warning
|
Clippy (aarch64-apple-darwin, macos-latest)
Clippy had exited with the 101 exit code
|
|
mismatched types:
apps/desktop/src-tauri/src/main.rs#L54
error[E0308]: mismatched types
--> apps/desktop/src-tauri/src/main.rs:54:13
|
54 | None
| ^^^^ expected `Result<Handle, Error>`, found `Option<_>`
|
= note: expected enum `std::result::Result<tauri_plugin_sentry::sentry_rust_minidump::Handle, minidumper_child::Error>`
found enum `std::option::Option<_>`
|
|
methods with the following characteristics: (`to_*` and `self` type is `Copy`) usually take `self` by value:
crates/rendering/src/lib.rs#L430
warning: methods with the following characteristics: (`to_*` and `self` type is `Copy`) usually take `self` by value
--> crates/rendering/src/lib.rs:430:14
|
430 | fn to_uv(&self, point: XY<f64>) -> XY<f32> {
| ^^^^^
|
= help: consider choosing a less ambiguous name
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#wrong_self_convention
= note: `#[warn(clippy::wrong_self_convention)]` on by default
|