about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorSebastian Wicki <gandro@gmx.net>2015-09-24 01:20:43 +0200
committerSebastian Wicki <gandro@gmx.net>2015-09-24 01:44:55 +0200
commitaf68cdfea1e7a9121122d89d2baa70d64f340d54 (patch)
tree0cfbd9d3470149015281c104663933f23332507d /src/rustllvm/RustWrapper.cpp
parentafae2ff723393b3ab4ccffef6ac7c6d1809e2da0 (diff)
downloadrust-af68cdfea1e7a9121122d89d2baa70d64f340d54.tar.gz
rust-af68cdfea1e7a9121122d89d2baa70d64f340d54.zip
rustc: Add target_vendor for target triples
This adds a new target property, `target_vendor` which can be used as a
matcher for conditional compilation. The vendor is part of the autoconf
target triple: <arch><sub>-<vendor>-<os>-<env>

The default value for `target_vendor` is "unknown".

Matching against the `target_vendor` with `#[cfg]` is currently feature
gated as `cfg_target_vendor`.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions