Skip to content

Commit 0f5156a

Browse files
committed
[test] Avoid linking arclite in objc_runtime_visible.swift's helper.
We don't always manage to symlink it in the right place for now. Speculative fix to get tests passing again.
1 parent 06a78fd commit 0f5156a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Interpreter/objc_runtime_visible.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: rm -rf %t && mkdir -p %t
22

3-
// RUN: %clang %target-cc-options -isysroot %sdk -fobjc-arc %S/Inputs/objc_runtime_visible.m -fmodules -dynamiclib -o %t/libobjc_runtime_visible.dylib
3+
// RUN: %clang %target-cc-options -isysroot %sdk -fobjc-arc %S/Inputs/objc_runtime_visible.m -fmodules -nodefaultlibs -lc -dynamiclib -o %t/libobjc_runtime_visible.dylib
44
// RUN: nm -g %t/libobjc_runtime_visible.dylib | FileCheck %s
55
// RUN: %target-build-swift -import-objc-header %S/Inputs/objc_runtime_visible.h %t/libobjc_runtime_visible.dylib %s -o %t/main
66
// RUN: %target-run %t/main

0 commit comments

Comments
 (0)