diff options
| author | Heather <heather@cynede.net> | 2013-10-21 13:18:21 +0400 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2013-10-29 16:22:08 -0700 |
| commit | 8a593a8bdb36b4980f9c1b83e7f55af72dba789f (patch) | |
| tree | d761f6346138e5b68ebaebbf8d3424f9faf37a98 /src | |
| parent | 611c94d984c1c062d6e123d986c0511443900850 (diff) | |
| download | rust-8a593a8bdb36b4980f9c1b83e7f55af72dba789f.tar.gz rust-8a593a8bdb36b4980f9c1b83e7f55af72dba789f.zip | |
support for GNU configure syntax
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc/driver/driver.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/driver/driver.rs b/src/librustc/driver/driver.rs index 8aba36370d0..fb593b56e15 100644 --- a/src/librustc/driver/driver.rs +++ b/src/librustc/driver/driver.rs @@ -643,7 +643,7 @@ pub fn host_triple() -> ~str { // Instead of grabbing the host triple (for the current host), we grab (at // compile time) the target triple that this rustc is built with and // calling that (at runtime) the host triple. - (env!("CFG_COMPILER_TRIPLE")).to_owned() + (env!("CFG_COMPILER")).to_owned() } pub fn build_session_options(binary: @str, |
