Pinned unix/windows foreign_items.rs std-only dispatch arms. These are source stubs, enabled by the actual frame predicate, never general FFI defaults.
Instances For
- foreign : ForeignItems.Core P S D MD (Memory.Pointer (Option P)) B I
Only the nonrecursive source core is needed by std-only arms. Keeping the full foreign dispatcher out of this record prevents a std-only constructor from accepting or capturing an arbitrary platform chain.
- targetEnv : String
- pageSize : UInt64
- stackAddress : UInt64
- stackSize : UInt64
- layout : String → M S LocalLayout
Exact source compiler layout: usize, unit_ptr_mut or named libc type.
- dereference : OpTy P → LocalLayout → M S MD
- pointerOf : MD → Memory.Pointer (Option P)
- libcValue : String → M S (Memory.Scalar P)
- windowsValue : String → M S (Memory.Scalar P)
- writeScalar : Memory.Scalar P → MD → M S Unit
- allocateStringDedup : String → M S (Memory.Pointer (Option P))
Exact compiler shim_sig!(extern system ...) ABI for the named source arm.
Instances For
Windows uses no Unix path, layout or passwd operations. Keep its source construction independent of those capabilities.
- foreign : ForeignItems.Core P S D MD (Memory.Pointer (Option P)) B I
- windowsValue : String → M S (Memory.Scalar P)
- writeScalar : Memory.Scalar P → MD → M S Unit
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Recognized but unavailable std arms fall through to the existing platform handler, matching source guards rather than claiming a successful stub.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.