mtl-sys 1.0.0

Low-level Objective-C runtime bindings for Metal
docs.rs failed to build mtl-sys-1.0.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

Low-level Objective-C runtime bindings for Metal.

This crate provides the foundational FFI layer for communicating with the Objective-C runtime. It includes:

  • Architecture-aware message sending (objc_msgSend variants)
  • Selector and class caching
  • Objective-C block support (Clang ABI)
  • Custom macros for enums and bitflags

Safety

This crate is intentionally unsafe. All public functions are marked unsafe and require the caller to uphold Objective-C runtime invariants. Higher-level safe wrappers are provided by the metal crate.