Commit faaabba
authored
Use
Tweak the logic for when we use the runtime-internal
`swift_getErrorValue()` function in our `_swift_willThrow` handler so
that we use it if the runtime does not support Objective-C interop.
Currently, we toggle based on whether we're on an Apple platform, but
this isn't quite right.
Resolves rdar://143328537.
### Checklist:
- [x] Code and documentation should follow the style of the [Style
Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md).
- [x] If public symbols are renamed or modified, DocC references should
be updated.swift_getErrorValue() unless Objective-C is available. (#922)1 parent 8836b38 commit faaabba
File tree
2 files changed
+4
-4
lines changed- Sources
- Testing/SourceAttribution
- _TestingInternals/include
2 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| |||
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
339 | | - | |
| 339 | + | |
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
| 74 | + | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
0 commit comments