diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-04-21 15:53:32 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-04-27 09:22:05 -0700 |
| commit | ba2380d7b328ae59261d134970593c2a2668c690 (patch) | |
| tree | 968f5352d57cdf79fecbb4b8b3f3101b3d8c7a32 /src/rustllvm/RustWrapper.cpp | |
| parent | 681fc824569cc2d37522b9927b9a6ecbfffee3eb (diff) | |
| download | rust-ba2380d7b328ae59261d134970593c2a2668c690.tar.gz rust-ba2380d7b328ae59261d134970593c2a2668c690.zip | |
rustc: Add target_env for triples by default
This adds a new `#[cfg]` matcher against the `target_env` property of the destination target triple. For example all windows triples today end with `-gnu` but we will also hopefully support non-`gnu` targets for Windows, at which point we'll need to differentiate between the two. This new `target_env` matches is provided and filled in with the target's environment name. Currently the only non-empty value of this name is `gnu`, but `musl` will be shortly added for the linux triples.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
