Open JPHutchins opened 2 hours ago
I've add this .cargo/config.toml
[target.x86_64-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]
[profile.release]
codegen-units = 1
lto = true
opt-level = 0
debug = false
rpath = false
panic = 'unwind'
incremental = false
overflow-checks = true
It crashes on anything but opt-level 0.
I think it makes sense to leave optimizations at 0 for now. It's not like the code is huge or taking up a bunch of resources.
I was working on the MSI. It's working OK, but I've discovered that --release builds are crashing on startup, whether installed via MSI or not. Debug builds work fine both with and without the installer.