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 {
198
198
199
199
// / Optimization mode for unavailable declarations.
200
200
UnavailableDeclOptimization UnavailableDeclOptimizationMode =
201
- UnavailableDeclOptimization::Stub ;
201
+ UnavailableDeclOptimization::None ;
202
202
203
203
// / Causes the compiler to use weak linkage for symbols belonging to
204
204
// / declarations introduced at the deployment target.
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
- // RUN: %target-build-swift -module-name main %s -o %t/a.out
2
+ // RUN: %target-build-swift -module-name main -Xfrontend -unavailable-decl-optimization=stub %s -o %t/a.out
3
3
// RUN: %target-codesign %t/a.out
4
4
// RUN: %target-run %t/a.out > %t/output 2>&1 || true
5
5
// RUN: %FileCheck %s < %t/output
You can’t perform that action at this time.
0 commit comments