Skip to content

Version 1.21 does not compile for the iOS platform #1749

Closed
@fat-fellow

Description

@fat-fellow
# github.com/prometheus/client_golang/prometheus
In file included from process_collector_cgo_darwin.c:18:
/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.2.sdk/usr/include/mach/mach_vm.h:1:2: error: mach_vm.h unsupported.
process_collector_cgo_darwin.c:66:17: error: call to undeclared function 'mach_vm_region'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions