mozilla/rust — pull request #4328 by ILyoan (2013-01-02 06:33:36+00:00)
Title: generate dll file name based on target os. issue #4119

generate dll file name base on the given target os, using `core::os::consts` which now contains constant values for all of the supported targets.

the functions on `core::os::consts` are changed to constant strings
for example, `fn sysname() -> ~str { ~"linux" }` will be `const SYSNAME: &str = "linux"`