Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cargo install and root workspace Cargo.toml inconsistency #361

Open
LucasFA opened this issue Feb 6, 2024 · 0 comments
Open

cargo install and root workspace Cargo.toml inconsistency #361

LucasFA opened this issue Feb 6, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@LucasFA
Copy link
Contributor

LucasFA commented Feb 6, 2024

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 rust-lang/cargo#8264 for why this happens. Also, this reddit post, with simple ways to fix this in either direction.

@LucasFA LucasFA added the enhancement New feature or request label Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant