cargo build --release
significantly reduces binary size in comparison w/ default profile(9.6M down to 1.9MB for my crate) and
[profile.release]
strip = true
# or strip = "symbols"
can reduce it slightly more(1.9MB down to 1.3MB).
I read the section on strip cargo option but I'm still a bit unsure about its internals. Why it is disabled by default in the release profile?
Are there any cons of always using it in the release profile - perhaps only increasing compilation time?