Skip to content

stdio.h breaks build #2873

@CamJN

Description

@CamJN

Crate name

getargv-sys

Build failure link

https://docs.rs/crate/getargv-sys/0.5.8/builds/2359247/x86_64-apple-darwin.txt

Additional details

My crate uses bindgen to create rust bindings in build.rs by converting wrapper.h.

However recently it has started to break the docs build with errors in stdio.h which wrapper.h includes.

[INFO] [stderr]   /usr/include/stdio.h:184:35: error: expected ';' after top level declarator
[INFO] [stderr]   /usr/include/stdio.h:184:48: error: expected identifier or '('
[INFO] [stderr]   /usr/include/stdio.h:184:48: error: expected ')'
[INFO] [stderr]   /usr/include/stdio.h:184:47: note: to match this '('

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions