File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ namespace swift {
198198
199199 // / Optimization mode for unavailable declarations.
200200 UnavailableDeclOptimization UnavailableDeclOptimizationMode =
201- UnavailableDeclOptimization::None ;
201+ UnavailableDeclOptimization::Stub ;
202202
203203 // / Causes the compiler to use weak linkage for symbols belonging to
204204 // / declarations introduced at the deployment target.
Original file line number Diff line number Diff line change 11// RUN: %empty-directory(%t)
2- // RUN: %target-build-swift -module-name main -Xfrontend -unavailable-decl-optimization=stub %s -o %t/a.out
2+ // RUN: %target-build-swift -module-name main %s -o %t/a.out
33// RUN: %target-codesign %t/a.out
44// RUN: %target-run %t/a.out > %t/output 2>&1 || true
55// RUN: %FileCheck %s < %t/output
You can’t perform that action at this time.
0 commit comments