mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This is because we currently JIT in process resulting in weirdness around swift-frontend wanting to link against the host stdlib and the exec swift code wanting to link against the target stdlib. For now, we work around this by just saying in that case we will force swift-frontend to use the just built runtime so we are consistent. The only potential problem is that a bug in the just built runtime may now cause these tests to fail. But overall, that would suggest a problem we may want to catch in it of itself, so the work around I think makes sense until JITing is done in a separate process (which I think is the right fix). rdar://78768013
7 lines
192 B
Swift
7 lines
192 B
Swift
// Test protocol_lookup.swift in JIT mode.
|
|
// RUN: %target-jit-run %S/protocol_lookup.swift | %FileCheck %S/protocol_lookup.swift
|
|
// REQUIRES: executable_test
|
|
|
|
// REQUIRES: swift_interpreter
|
|
|