Skip to content

Commit 02b0c75

Browse files
committed
Don't use -experimental-hermetic-seal-at-link -lto=llvm-full if -swift-stdlib-use-relative-protocol-witness-tables
1 parent 02ec4ff commit 02b0c75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/lit.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1003,7 +1003,7 @@ if run_vendor == 'apple':
10031003

10041004
# TODO: consider making the addition of these flags dependent on the CMake
10051005
# setting for hermetic seal at link
1006-
if not config.swift_freestanding_is_darwin:
1006+
if not config.swift_freestanding_is_darwin and not config.swift_stdlib_use_relative_protocol_witness_tables:
10071007
swift_execution_tests_extra_flags += ' -experimental-hermetic-seal-at-link -lto=llvm-full'
10081008

10091009
if not config.swift_freestanding_is_darwin:

0 commit comments

Comments
 (0)