rust-lang/rust — pull request #17682 by nodakai (2014-10-01 11:56:47+00:00)
Title: librustc/driver: expose build information of rustc.

CFG_RELEASE, CFG_VER_HASH and CFG_VER_DATE were only available
as an output to stdout from the driver::version() function
that had an inconvenient signature.

Also, if one failed to set an env var CFG_COMPILER_HOST_TRIPLE at
compile time, the compilation fails.

Now we can easily check the exact version of rustc running at playpen.

I would appreciate if someone could improve my English in the rustdoc comments!