File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 55
66## Swift 6.2
77
8+ * [ SE-0419] [ ] :
9+ Introduced the new ` Runtime ` module, which contains a public API that can
10+ generate backtraces, presently supported on macOS and Linux. Capturing a
11+ backtrace is as simple as
12+
13+ ``` swift
14+ import Runtime
15+
16+ func foo () {
17+ // Without symbols
18+ let backtrace = try ! Backtrace.capture ()
19+
20+ print (backtrace)
21+
22+ // With symbol lookup
23+ let symbolicated = backtrace.symbolicated ()!
24+
25+ print (symbolicated)
26+ }
27+ ```
28+
829* [ SE-0458] [ ] :
930 Introduced an opt-in mode for strict checking of memory safety, which can be
1031 enabled with the compiler flag ` -strict-memory-safety ` . In this mode,
@@ -10703,6 +10724,7 @@ using the `.dynamicType` member to retrieve the type of an expression should mig
1070310724[SE- 0432 ]: https: // github.com/apple/swift-evolution/blob/main/proposals/0432-noncopyable-switch.md
1070410725[SE- 0430 ]: https: // github.com/apple/swift-evolution/blob/main/proposals/0430-transferring-parameters-and-results.md
1070510726[SE- 0418 ]: https: // github.com/apple/swift-evolution/blob/main/proposals/0418-inferring-sendable-for-methods.md
10727+ [SE- 0419 ]: https: // github.com/swiftlang/swift-evolution/blob/main/proposals/0419-backtrace-api.md
1070610728[SE- 0423 ]: https: // github.com/apple/swift-evolution/blob/main/proposals/0423-dynamic-actor-isolation.md
1070710729[SE- 0424 ]: https: // github.com/apple/swift-evolution/blob/main/proposals/0424-custom-isolation-checking-for-serialexecutor.md
1070810730[SE- 0428 ]: https: // github.com/apple/swift-evolution/blob/main/proposals/0428-resolve-distributed-actor-protocols.md
You can’t perform that action at this time.
0 commit comments