GitHub PushEvent at 2014-07-18 15:31:30
Repository: rust
Actor: bors
Payload: {"shas":[["5b0e3b6dc6e069b089cb08721215d326a7851c69","60c6d277a8bd81de7fdde19201bf9c58a3df08f4@alexcrichton.com","rustc: #[crate_name] and --crate-name must match\n\nPart of the original discussions around the `--crate-name` flag brought up that\nmass confusion can arise when the flag specifies a different name than is\ncontained in the crate.\n\nThe current primary use case of the `--crate-name` flag is through cargo and\nnot requiring a `#[crate_name]` attribute, but if the `#[crate_name]` attribute\nis specified it will likely go awry when the two names deviate from one another.\nThis commit requires that if both are provided they both match to prevent this\nconfusion.","Alex Crichton",true],["3624e9dab1b69e9a64e2911c00ae6799bdd4946a","60c6d277a8bd81de7fdde19201bf9c58a3df08f4@alexcrichton.com","rustc: Mix extra-filename in temp outputs\n\nWhen invoking the compiler in parallel, the intermediate output of the object\nfiles and bytecode can stomp over one another if two crates with the same name\nare being compiled.\n\nThe output file is already being disambiguated with `-C extra-filename`, so this\ncommit alters the naming of the temporary files to also mix in the extra\nfilename to ensure that file names don't clash.","Alex Crichton",true],["0a9d29ef0235447543562358f5be8a84daa6f748","3a2c29237f73c7cf88424b80e427b1884f346b35@rust-lang.org","auto merge of #15686 : alexcrichton/rust/same-crate-name, r=kballard\n\nThe 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.","bors",true]],"size":3,"ref":"refs/heads/auto","head":"0a9d29ef0235447543562358f5be8a84daa6f748"}