how to package egui

102 views Asked by At

How to package an egui project into a single exe to run on someone else's windows computer Here is the cargo.toml file

[package]
name = "autodark-egui-rr-test"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.release]
opt-level = "z"  # 最大优化级别
panic = "abort"  # 在panic时中止程序

[dependencies]
eframe ="0.23.0"
env_logger = "0.10.0"
chrono = "0.4.31"
winreg="0.51.0"

I've tried cargo build --release and it doesn't work. Is it because it's not statically compiled? I'm new to application development and don't know much about this, sorry!

0

There are 0 answers