Fix #24840: make default for `optimize` independent of `debug` setting in `Cargo.toml`.
Fix #24840: make default for `optimize` independent of `debug` setting in `Cargo.toml`.

GBGamer/rust,GBGamer/rust,graydon/rust,aidancully/rust,aidancully/rust,GBGamer/rust,graydon/rust,GBGamer/rust,aidancully/rust,GBGamer/rust,aidancully/rust,GBGamer/rust,GBGamer/rust,graydon/rust,GBGamer/rust,aidancully/rust,aidancully/rust,graydon/rust,graydon/rust,graydon/rust