]> git.lizzy.rs Git - rust.git/commit
Print 'rustc' and 'rustdoc' as the command name for --version
authorBrian Anderson <banderson@mozilla.com>
Mon, 12 May 2014 22:39:07 +0000 (15:39 -0700)
committerBrian Anderson <banderson@mozilla.com>
Wed, 14 May 2014 22:34:14 +0000 (15:34 -0700)
commit67fa90e48a313b4211e89f6bb893560ddabcc4cb
tree639656bbfe59afec39f0ad455de97f34dad7946b
parent2a7a39191a83fc2a63df6cb47acd344ae669d9c7
Print 'rustc' and 'rustdoc' as the command name for --version

Instead of just blindly printing arg[0], use a constant string.
Partial fix for #13582
src/librustc/driver/mod.rs
src/librustdoc/lib.rs