about summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-04-21 15:53:32 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-04-27 09:22:05 -0700
commitba2380d7b328ae59261d134970593c2a2668c690 (patch)
tree968f5352d57cdf79fecbb4b8b3f3101b3d8c7a32 /src/test/codegen/stack-alloc-string-slice.rs
parent681fc824569cc2d37522b9927b9a6ecbfffee3eb (diff)
downloadrust-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/test/codegen/stack-alloc-string-slice.rs')
0 files changed, 0 insertions, 0 deletions