Skip to content

Commit a1f20e0

Browse files
committed
HACK: re-disable mangling round-trip checking
1 parent 5d0ca7b commit a1f20e0

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

lib/Frontend/CompilerInvocation.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2641,6 +2641,9 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
26412641
if (Args.hasArg(OPT_no_clang_module_breadcrumbs))
26422642
Opts.DisableClangModuleSkeletonCUs = true;
26432643

2644+
if (SWIFT_ENABLE_EXPERIMENTAL_NONCOPYABLE_GENERICS)
2645+
Opts.DisableRoundTripDebugTypes = true; // temporary until we fix mangling!
2646+
26442647
if (auto A = Args.getLastArg(OPT_enable_round_trip_debug_types,
26452648
OPT_disable_round_trip_debug_types)) {
26462649
Opts.DisableRoundTripDebugTypes =

stdlib/cmake/modules/SwiftSource.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,7 @@ function(_compile_swift_files
610610
if(SWIFT_ENABLE_EXPERIMENTAL_NONCOPYABLE_GENERICS)
611611
list(APPEND swift_flags "-enable-experimental-feature" "NoncopyableGenerics")
612612
list(APPEND swift_flags "-Xfrontend" "-enable-experimental-associated-type-inference")
613+
list(APPEND swift_flags "-Xfrontend" "-disable-round-trip-debug-types") # NOTE: temporary until we fix mangling!
613614
endif()
614615

615616
if (SWIFT_STDLIB_ENABLE_STRICT_CONCURRENCY_COMPLETE)

0 commit comments

Comments
 (0)