Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Turn off debug symbols for snaps (#7256)
There isn't currently a good way to package debuginfo and symbols for snaps. Since we're building with full symbols in cargo and they aren't being stripped out during the snap build, our snap packages are much larger than they should be. This change disables the [debug](https://doc.rust-lang.org/cargo/reference/profiles.html#debug) setting in the cargo release profile for snaps only. To test, I built the amd64 snap locally with these changes. It went from 78 MB down to 21 MB. I also ran ran the end-to-end tests against built packages and confirmed everything passes. ## Azure IoT Edge PR checklist:
- Loading branch information