[SR-5664] UnsafeRawPointer.allocate(bytes:alignedTo:) does not respect alignment. #48234
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
standard library
Area: Standard library umbrella
Additional Detail from JIRA
md5: b101ea2c10b5b761563c5e400f3aa884
Issue Description:
This API calls a Builtin which codegens down to swift::swift_slowAlloc. We should probably fix the implementation of this runtime call to invoke posix_memalign when available instead of lying to the user.
The text was updated successfully, but these errors were encountered: