about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-04-23 13:11:37 -0700
committerbors <bors@rust-lang.org>2014-04-23 13:11:37 -0700
commit07aef98a3262b69f0a4b20c9677d63f2f2f50f27 (patch)
tree14eedde61809d48fc9e7d7f467aeb8e1940792c6 /src/rustllvm/RustWrapper.cpp
parent6beb376b5c27c6b028092f227f865ba564fea17b (diff)
parent4ac89cd27613ffe574a6fc6009793c1900e5cfca (diff)
downloadrust-07aef98a3262b69f0a4b20c9677d63f2f2f50f27.tar.gz
rust-07aef98a3262b69f0a4b20c9677d63f2f2f50f27.zip
auto merge of #13584 : rcxdude/rust/cross-syntax-ext, r=alexcrichton
This allows the use of syntax extensions when cross-compiling (fixing #12102). It does this by encoding the target triple in the crate metadata and checking it when searching for files. Currently the crate triple must match the host triple when there is a macro_registrar_fn, it must match the target triple when linking, and can match either when only macro_rules! macros are used.

due to carelessness, this is pretty much a duplicate of https://github.com/mozilla/rust/pull/13450.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions