Description
Hi @trickster0!
I just noticed the addition regarding strip
in the readme and wanted to check if we are seeing different results.
I use an almost identical Cargo.toml
with strip, etc. but even then the home directory is left in the binary. That was what I meant with even if you remove all debug symbols
.
This is something that bit me before and that's how I ended up with the --remap-path-prefix
solution. It looks like trim-path
was proposed as an alternative to passing --remap-path-prefix
and --remap-cwd-prefix
as a flag during build at !3127, but it hasn't been merged yet.
If we see a difference, it could be due to different dependencies as mentioned in this issue. Or, maybe OS? I mostly compile on a Mac using x86_64-pc-windows-gnu
as the target.
Anyway, I just wanted to check and see if we are on the same page.