rust_opengl/config.toml

10 lines
333 B
TOML

[build]
rustflags = ["-C", "target-feature=+crt-static"]
[profile.release]
opt-level = 'z' # Optimize for size
lto = true # Enable link-time optimization
codegen-units = 1 # Reduce number of codegen units to increase optimizations
panic = 'abort' # Abort on panic
strip = true # Strip symbols from binary*