Skip to content

Commit

Permalink
Gate Backtrace.install behind swift(<5.9) check
Browse files Browse the repository at this point in the history
  • Loading branch information
fwcd committed Feb 14, 2024
1 parent abb11dd commit b00d5e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/D2/D2.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ struct D2: ParsableCommand {
var initialPresence: String?

func run() throws {
#if DEBUG
#if DEBUG && swift(<5.9)
Backtrace.install()
#endif

Expand Down

0 comments on commit b00d5e2

Please sign in to comment.