iced-rs / iced

A cross-platform GUI library for Rust, inspired by Elm
https://iced.rs
MIT License
22.96k stars 1.06k forks source link

win10系统运行,程序退出会崩溃;Windows10,program will crash when it exits #2410

Closed CheemsThx closed 2 weeks ago

CheemsThx commented 2 weeks ago

Is there an existing issue for this?

Is this issue related to iced?

What happened?

代码来自0.12/examples/checkbox

Cargo.toml

[package]
name = "test_my"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
iced = "0.12.1"
sodiumoxide = "0.2.7"
PS C:\Users\henry\Desktop\rust_test\test_my> cargo run
    Finished dev [unoptimized + debuginfo] target(s) in 0.53s
     Running `target\debug\test_my.exe`
error: process didn't exit successfully: `target\debug\test_my.exe` (exit code: 255)

image

image

image

What is the expected behavior?

正常退出

Version

crates.io release

Operating System

Windows

Do you have any log output?

No response

CheemsThx commented 2 weeks ago

单独运行了下wgpu,发现是不是这个仓库的问题😓