[Serialization] Update env var to disable precise tag check

Rename the env var to SWIFT_IGNORE_SWIFTMODULE_REVISION as it's
recommended for use outside of testing.
This commit is contained in:
Alexis Laferrière
2023-02-13 12:52:46 -08:00
parent 4579e37e61
commit e079db233f
2 changed files with 3 additions and 3 deletions

View File

@@ -356,7 +356,7 @@ static ValidationInfo validateControlBlock(
// Disable this restriction for compiler testing by setting this
// env var to any value.
static const char* ignoreRevision =
::getenv("SWIFT_DEBUG_IGNORE_SWIFTMODULE_REVISION");
::getenv("SWIFT_IGNORE_SWIFTMODULE_REVISION");
if (ignoreRevision)
break;