Skip to content

Commit

Permalink
Remove through-cargo rename of inner proc-macro crate
Browse files Browse the repository at this point in the history
This resolves some issues that occur only during cross compilation and
result in spurious `"no `item` in the root"` errors.
  • Loading branch information
connorpower authored and danielhenrymantilla committed Jul 21, 2021
1 parent b6d4cd0 commit 69f4e5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ repository = "https://github.com/danielhenrymantilla/mini_paste"

license = "Zlib"

[dependencies.proc_macro]
package = "mini_paste-proc_macro"
[dependencies.mini_paste-proc_macro]
path = "src/proc_macro"
version = "0.1.10"

Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
doc(include = "../README.md"),
)]

extern crate proc_macro;
extern crate mini_paste_proc_macro;

/** Not part of the public API **/ #[doc(hidden)]
pub use ::proc_macro::{
pub use ::mini_paste_proc_macro::{
item as __item__,
__expr_hack__,
};
Expand Down

0 comments on commit 69f4e5e

Please sign in to comment.