darthdeus / comfy

Comfy is a fun 2D game engine built in Rust. It's designed to be opinionated, productive, and easy to use.
https://comfyengine.org
Apache License 2.0
678 stars 28 forks source link

Crash with release build with lto=true, opt-level=3, codegen-units=1 #71

Open AllenDang opened 8 months ago

AllenDang commented 8 months ago

Crash will happen if add following lines to Cargo.toml

[profile.release]
strip = true
lto = true
opt-level = 3
codegen-units = 1

I'm using macOS v14.0 with comfy 0.2.0