When I compile GTK4 "Hello World" application in rust I get binary with size 192Mb for debug mode. I use old SSD and I worry about it's resource as I compile and debug very frequently. I tried -C prefer-dynamic
flag, but size of binary become 188Mb only.
Is this way to make application binary size much smaller?
PS: I work in win10 and use MSYS2.
PPS: I don't have problem with release build's size. With -C link-arg=-s
and lto = true
the size is about 200kb