Skip to content

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

@bjorn3

Description

@bjorn3
 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;
    |

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions