We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e66552 commit 52484b7Copy full SHA for 52484b7
stdlib/private/StdlibUnittest/StdlibUnittest.swift
@@ -811,8 +811,10 @@ var _testSuiteNameToIndex: [String : Int] = [:]
811
let _stdlibUnittestStreamPrefix = "__STDLIB_UNITTEST__"
812
let _crashedPrefix = "CRASHED:"
813
814
+#if !os(WASI)
815
@_silgen_name("installTrapInterceptor")
816
func _installTrapInterceptor()
817
+#endif
818
819
#if _runtime(_ObjC)
820
@objc protocol _StdlibUnittestNSException {
@@ -823,7 +825,9 @@ func _installTrapInterceptor()
823
825
// Avoid serializing references to objc_setUncaughtExceptionHandler in SIL.
824
826
@inline(never)
827
func _childProcess() {
828
829
_installTrapInterceptor()
830
831
832
833
objc_setUncaughtExceptionHandler {
0 commit comments