diff options
| author | bors <bors@rust-lang.org> | 2014-04-23 13:11:37 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-04-23 13:11:37 -0700 |
| commit | 07aef98a3262b69f0a4b20c9677d63f2f2f50f27 (patch) | |
| tree | 14eedde61809d48fc9e7d7f467aeb8e1940792c6 /src/rustllvm/RustWrapper.cpp | |
| parent | 6beb376b5c27c6b028092f227f865ba564fea17b (diff) | |
| parent | 4ac89cd27613ffe574a6fc6009793c1900e5cfca (diff) | |
| download | rust-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
