Skip to content

Commit 2bc1fab

Browse files
committed
HACK: re-disable mangling round-trip checking
1 parent 0d73ad2 commit 2bc1fab

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
@@ -2674,6 +2674,9 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
26742674
if (Args.hasArg(OPT_no_clang_module_breadcrumbs))
26752675
Opts.DisableClangModuleSkeletonCUs = true;
26762676

2677+
if (SWIFT_ENABLE_EXPERIMENTAL_NONCOPYABLE_GENERICS)
2678+
Opts.DisableRoundTripDebugTypes = true; // temporary until we fix mangling!
2679+
26772680
if (auto A = Args.getLastArg(OPT_enable_round_trip_debug_types,
26782681
OPT_disable_round_trip_debug_types)) {
26792682
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)