mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
* Remove support for linking arclite Darwin no longer uses arclite and it's no longer distributed in the macOS SDKs. This leaves the options -link-objc-runtime and -no-link-objc-runtime in place, but strips out all the logic that actually used them. * Remove a dead function * Warn if `-link-objc-runtime` is used * Update tests to not look for arclite library * Add an explicit test for the deprecation warning * Move the macOS-only -link-objc-runtime test to a separate test file
7 lines
368 B
Swift
7 lines
368 B
Swift
// REQUIRES: swift_interpreter
|
|
// REQUIRES: OS=macosx
|
|
|
|
// RUN: %swift_driver -link-objc-runtime %s 2>&1 | %FileCheck -check-prefix LINK_OBJC_RUNTIME_WARNING %s
|
|
// RUN: %swift_driver -no-link-objc-runtime %s 2>&1 | %FileCheck -check-prefix LINK_OBJC_RUNTIME_WARNING %s
|
|
// LINK_OBJC_RUNTIME_WARNING: warning: -link-objc-runtime is no longer supported on Apple platforms
|