Skip to content

Doesn't compile on latest macOS nightly #142

Closed
@CryZe

Description

@CryZe

rust version 1.81.0-nightly (bcf94dec5 2024-06-23)

Error:

error: expected one of `!` or `::`, found keyword `static`
Error:  --> /Users/runner/work/livesplit-core/livesplit-core/target/aarch64-apple-darwin/debug/build/libproc-b1136142c2e7f016/out/osx_libproc_bindings.rs:3:11
  |
3 | rewriting static
  |           ^^^^^^ expected one of `!` or `::`

error[E0432]: unresolved import `crate::osx_libproc_bindings::proc_bsdinfo`
Error:  --> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libproc-0.14.8/src/libproc/bsd_info.rs:3:9
  |
3 | pub use crate::osx_libproc_bindings::proc_bsdinfo as BSDInfo;
  |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `proc_bsdinfo` in `osx_libproc_bindings`
  |
help: consider importing this struct instead
  |
3 | pub use libc::proc_bsdinfo as BSDInfo;
  |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[...]

Seems like bindgen fails and it generates some garbage rs file instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions