Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libc fails to migrate #51210

Closed
nikomatsakis opened this issue May 30, 2018 · 3 comments
Closed

libc fails to migrate #51210

nikomatsakis opened this issue May 30, 2018 · 3 comments
Labels
A-rust-2018-preview Area: The 2018 edition preview T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. WG-epoch Working group: Epoch (2018) management

Comments

@nikomatsakis
Copy link
Contributor

@teiesti helpfully reported that libc fails to migrate successfully:

branch here

$ cargo +nightly build
   Compiling libc v0.2.41 (file:///home/tobias/dev/libc)
error[E0463]: can't find crate for `dox`
   --> src/macros.rs:44:16
    |
44  |           impl ::dox::Copy for $i {}
    |                  ^^^ can't find crate
    | 
   ::: src/unix/mod.rs:19:1
    |
19  | / s! {
20  | |     pub struct group {
21  | |         pub gr_name: *mut crate::c_char,
22  | |         pub gr_passwd: *mut crate::c_char,
...   |
186 | |     }
187 | | }
    | |_- in this macro invocation

error: aborting due to previous error
@nikomatsakis nikomatsakis added T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. WG-epoch Working group: Epoch (2018) management A-rust-2018-preview Area: The 2018 edition preview labels May 30, 2018
@aturon
Copy link
Member

aturon commented Jul 24, 2018

cc @alexcrichton

@Mark-Simulacrum Mark-Simulacrum added this to the Rust 2018 Preview 2 milestone Jul 24, 2018
@Mark-Simulacrum
Copy link
Member

Milestoned for preview 2, needs to be diagnosed/checked. Not critical to fix by then; fix by RC.

@alexcrichton
Copy link
Member

Ok running this locally it looks like there's two separate bugs here.

With all that I think this is pretty well in hand, so closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rust-2018-preview Area: The 2018 edition preview T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. WG-epoch Working group: Epoch (2018) management
Projects
None yet
Development

No branches or pull requests

4 participants