My .cargo/config.toml looks like
[build]
rustflags = ["-C", "link-arg=-s"]
But I can't debug with striping. Of course, I can just comment this and when compiling release uncomment, but I wonder if I can make something like
[build.release]
rustflags = ["-C", "link-arg=-s"]
or something. I know that I can use build scripts, but that look a bit redundant to me.(Also I don't know build scripts)