]> git.lizzy.rs Git - rust.git/commit
rustc: Allow the crate linked to as 'std' to be customized
authorBrian Anderson <banderson@mozilla.com>
Sun, 20 Jul 2014 05:40:39 +0000 (22:40 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 21 Jul 2014 16:54:27 +0000 (09:54 -0700)
commitec0f1cb709cb59e160083cb95f99aa8fc851a9b8
treef311ac17cb2814651af83bdcfa6f96241840381f
parentc88bf10c37d32f18774cfa3ef480eb77df294565
rustc: Allow the crate linked to as 'std' to be customized

This adds the alt_std_name field to the Session's Options type.
I'm using this in an external tool to control which libraries
a crate links to.
src/librustc/driver/config.rs
src/librustc/front/std_inject.rs