spotify-player icon indicating copy to clipboard operation
spotify-player copied to clipboard

cargo install and root workspace Cargo.toml inconsistency

Open LucasFA opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. The debug = 1 setting is not set when installing the crate with cargo install, but it does affect cargo build --release and the published binaries in the github release (built in CD).

Describe the solution you'd like Eventually it would be nice to remove the debug information from the binary, but I gather it's been useful. Right now, it's good enough for me to have learned the why behind the discrepancy in binary sizes. I didn't think this was evident but if you knew this already, nevermind.

More context See https://github.com/rust-lang/cargo/issues/8264 for why this happens. Also, this reddit post, with simple ways to fix this in either direction.

LucasFA avatar Feb 06 '24 19:02 LucasFA