mirror of
https://github.com/apple/swift-system
synced 2026-11-24 04:38:14 +00:00
When building on Windows, we rely on the `withPlatformString` to convert the strings to the native platform encoding (UTF-16). The public `FilePath.withPlatformString` is marked as `@_alwaysEmitIntoClient` and references the `_withPlatformString` which is marked as `internal`. Annotate the function as `@usableFromInline` to enable the inlined method to reference this function.