mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
stdlib: add SWIFT_RUNTIME_STDLIB_INTERFACE attribute where necessary
... and remove some redundant ones. This change fixes the RuntimeObjC.swift test. rdar://problem/26239602
This commit is contained in:
@@ -682,11 +682,6 @@ RuntimeFoundationWrappers.test("_stdlib_NSStringUppercaseString/NoLeak") {
|
||||
expectEqual(0, nsStringCanaryCount)
|
||||
}
|
||||
|
||||
// FIXME: Temporarily commented out due to linker failure in finding
|
||||
// __swift_stdlib_CFStringCreateCopy, __swift_stdlib_CFStringGetCharactersPtr,
|
||||
// and __swift_stdlib_CFStringGetLength during optimized builds.
|
||||
// rdar://problem/26239602
|
||||
/*
|
||||
RuntimeFoundationWrappers.test("_stdlib_CFStringCreateCopy/NoLeak") {
|
||||
nsStringCanaryCount = 0
|
||||
autoreleasepool {
|
||||
@@ -716,7 +711,6 @@ RuntimeFoundationWrappers.test("_stdlib_CFStringGetCharactersPtr/NoLeak") {
|
||||
}
|
||||
expectEqual(0, nsStringCanaryCount)
|
||||
}
|
||||
*/
|
||||
|
||||
RuntimeFoundationWrappers.test("bridgedNSArray") {
|
||||
var c = [NSObject]()
|
||||
|
||||
Reference in New Issue
Block a user