Skip to content

Commit ebf32ce

Browse files
committed
Remove -enable-ossa-modules from test/SILOptimizer/stdlib/Atomics.swift
Since Synchronization is in non-ossa, it cannot be imported into an ossa module. We have support for recompilation of the .swiftinterface with -enable-ossa-modules under implicit modules. However, recompilation of modules in the resource dir is disabled unless serialization status is serialization::Status::SDKMismatch in discoverUpToDateCompiledModuleForInterface. Removing the -enable-ossa-module flag in this test to avoid module loading failure
1 parent 55acf4f commit ebf32ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/SILOptimizer/stdlib/Atomics.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %target-swift-frontend -enable-ossa-modules -O -emit-sil -disable-availability-checking %s | %IRGenFileCheck %s
1+
// RUN: %target-swift-frontend -O -emit-sil -disable-availability-checking %s | %IRGenFileCheck %s
22

33
// REQUIRES: synchronization
44

0 commit comments

Comments
 (0)