about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-11-10 02:05:45 -0800
committerGitHub <noreply@github.com>2016-11-10 02:05:45 -0800
commitab03f855221d83ad13120b309506488f4a34cb0f (patch)
tree247c8093d92f1203f19f59e47b8e19305539f321 /src/test/run-pass/thinlto
parentc11e2bda394c786fff27df94bfbe292ba33294df (diff)
parenta0a9f8ca1bdfa5e71dc4e51661f80097cbe24513 (diff)
downloadrust-ab03f855221d83ad13120b309506488f4a34cb0f.tar.gz
rust-ab03f855221d83ad13120b309506488f4a34cb0f.zip
Auto merge of #37463 - jseyfried:refactor_macro_reexports, r=nrc
macros: improve reexports

This PR
- avoids building multiple module graphs for a crate that is referenced by multiple `extern crate` items,
- registers `#[no_link] extern crate`s to avoid loading the same crate metadata twice,
- stability checks `#[no_link] extern crate`s,
  - [breaking-chage]: `#[no_link] #[macro_use] extern crate syntax;` is allowed on stable today
- fixes `$crate` in `#[macro_reexport]`ed macros,
  - [breaking-change] for `#[feature(macro_reexport)]` (technically)
- allows selective macro importing (i.e. `#[macro_use(foo, bar)]`) from custom derive crates, and
- refactors the crate metadata to support re-exported macros in arbitrary modules (not yet needed).

r? @nrc
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions