Support proc-macro reexports #3334

Closed
jseyfried opened this Issue Nov 27, 2016 · 0 comments

Projects

None yet

1 participant

@jseyfried
Contributor
jseyfried commented Nov 27, 2016 edited
@bors bors added a commit to rust-lang/rust that referenced this issue Nov 28, 2016
@bors bors Auto merge of #38024 - jseyfried:avoid_needless_proc_macro_deps, r=nrc
Avoid loading needless proc-macro dependencies

Fixes #37958 when no proc-macros are exported; in particular, without `pub extern crate proc_macros;`, `#![feature(macro_reexport)]`, or `#![feature(use_extern_macros)]`.

I opened rust-lang/cargo#3334 for exported proc macros.

r? @alexcrichton
39c267a
@alexcrichton alexcrichton added a commit to alexcrichton/cargo that referenced this issue Nov 28, 2016
@alexcrichton alexcrichton Add host dependency path via -L for cross compiles
Now that proc-macro crates can reexport from their dependencies we need to be
able to find the other crates, so ensure that we pass an appropriate -L flag.

Closes #3334
58a2916
@alexcrichton alexcrichton added a commit to alexcrichton/cargo that referenced this issue Dec 2, 2016
@alexcrichton alexcrichton Add host dependency path via -L for cross compiles
Now that proc-macro crates can reexport from their dependencies we need to be
able to find the other crates, so ensure that we pass an appropriate -L flag.

Closes #3334
a298346
@bors bors added a commit that referenced this issue Dec 2, 2016
@bors bors Auto merge of #3335 - alexcrichton:fix-xcomiple, r=brson
Add host dependency path via -L for cross compiles

Now that proc-macro crates can reexport from their dependencies we need to be
able to find the other crates, so ensure that we pass an appropriate -L flag.

Closes #3334
307a613
@bors bors closed this in #3335 Dec 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment