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

Build failure with rustc-dep-of-std config on macOS for libc 0.2.133 #2924

Closed
bjorn3 opened this issue Sep 25, 2022 · 1 comment
Closed

Build failure with rustc-dep-of-std config on macOS for libc 0.2.133 #2924

bjorn3 opened this issue Sep 25, 2022 · 1 comment
Labels
C-bug Category: bug

Comments

@bjorn3
Copy link
Member

bjorn3 commented Sep 25, 2022

 error[E0412]: cannot find type `Option` in this scope
   --> /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.133/src/unix/bsd/apple/mod.rs:122:41
    |
122 | pub type pthread_jit_write_callback_t = Option<extern "C" fn(ctx: *mut ::c_void) -> ::c_int>;
    |                                         ^^^^^^ not found in this scope
    |
help: consider importing this enum
    |
5842|         use Option;
    |
@bjorn3 bjorn3 added the C-bug Category: bug label Sep 25, 2022
bjorn3 added a commit to rust-lang/rustc_codegen_cranelift that referenced this issue Sep 25, 2022
bjorn3 added a commit to rust-lang/rustc_codegen_cranelift that referenced this issue Sep 25, 2022
@JohnTitor
Copy link
Member

Fixed by 0.2.134, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug
Projects
None yet
Development

No branches or pull requests

2 participants