We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4985f7 commit ac91b7aCopy full SHA for ac91b7a
lib/Serialization/ModuleFileSharedCore.cpp
@@ -425,6 +425,12 @@ static ValidationInfo validateControlBlock(
425
break;
426
}
427
case control_block::HAS_NONCOPYABLE_GENERICS: {
428
+ // FIXME: temporary hack until the stdlib is actually building.
429
+ // This skips over the module mismatch error if the stdlib wasn't built
430
+ // with noncopyable generics, so that tests may still run in CI.
431
+ if (!SWIFT_ENABLE_EXPERIMENTAL_NONCOPYABLE_GENERICS)
432
+ break;
433
+
434
auto hasNoncopyableGenerics = scratch[0];
435
if (requiresNoncopyableGenerics && !hasNoncopyableGenerics)
436
result.status = Status::NotUsingNoncopyableGenerics;
0 commit comments