I'm trying to understand what commands cargo is executing. In my particular case, I can get cargo rustc -- -C -foo
to work, but not cargo build
. In my situation, I'd rather not have to use cargo, so seeing the commands it executes would be very beneficial.
It looks like one person managed to find a very hacky solution by renaming the rustc
and link
executables, but I really think this is something that would be helpful generally. Does such a thing exist and I just haven't found it?
P.S. I'm running Ubuntu Linux 18.04/16.04.