Use --remap-path-prefix RUSTFLAG to canonicalize build directory
aran opened this issue · comments
Is your feature request related to a problem? Please describe.
Panic messages/stack traces include the full path to the cargo directory on the build machine, e.g. /Users/aran/.cargo<...> in my case.
Describe the solution you'd like
Use --remap-path-prefix
or some other solution to canonicalize (and disguise!) the build path in build-web
command. e.g. https://users.rust-lang.org/t/how-to-properly-use-remap-path-prefix/104406/6
Describe alternatives you've considered
N/A
Additional context
N/A
Good idea and feel free to PR for this! I guess it may be add a flag and forward it in build script.