mirror of
https://github.com/apple/swift-numerics
synced 2026-11-24 04:38:11 +00:00
Adding this allows this package to be used with C++ interop enabled. Otherwise, building a package that depends on this leads to linker errors rdar://113756245
Numerics Shims
This module provides no stable Swift API. It is an internal implementation detail of other Swift Numerics modules, providing access to builtins and assembly by wrapping them in static inline C functions.
Within the standard library, this is achieved via the Builtin module instead, but because Swift Numerics is a separate project, it should not be built with the flags that are needed to enable access to the Builtin module.