Skip to content

Cranelift: JITMemoryProvider cannot be implemented because JITMemoryKind is private #13200

@fasterthanlime

Description

@fasterthanlime

cf. https://docs.rs/cranelift-jit/latest/cranelift_jit/trait.JITMemoryProvider.html

(I did not fill out the bug reporting template because it's it's just a visibility problem.)

My use case was allocating memory with MAP_JIT on macOS to need fewer entitlements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIncorrect behavior in the current implementation that needs fixingcraneliftIssues related to the Cranelift code generator

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions