rust-lang/rust — pull request #15686 by alexcrichton (2014-07-15 16:20:51+00:00)
Title: Two adjustments to rustc for cargo

The first is to require that `#[crate_name]` and `--crate-name` always match (if both are specified). The second is to fix parallel compilation in cargo by mixing in `-C extra-filename` into the temporary outputs of the compiler.