I remember using an option to rustc (and cargo) that got it to print the cc command line it uses for linking, before invoking it. I can't seem to find that option anymore. What option do I need to pass to get rustc to print its linker command line before linking?