alexcrichton / rustc-auto-publish

6 stars 8 forks source link

Try to fix rust-lang/rust#62558 #11

Closed msizanoen closed 5 years ago

msizanoen commented 5 years ago

This PR will automatically add package=... property into dependency entries without this property and keep the original crate names so that Cargo will automatically pass proper --extern <name>=... flags. Attempts to fix https://github.com/rust-lang/rust/issues/62558

alexcrichton commented 5 years ago

Sure!

msizanoen commented 5 years ago

It was not confirmed that this actually fixes the issue. Please reopen the issue.

msizanoen commented 5 years ago

If the issue is still not fixed then we will leave out the [lib] name = "..." in the Cargo.toml files to force rename them (to prevent conflict with the proc macros in the sysroot and the rustc build directory) as it will no longer be necessary thanks to this PR. (It is still a hack though).