Skip to content

Commit

Permalink
fix: remove backtrace dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
koraykoska committed Aug 17, 2023
1 parent 590e19b commit 2d8be89
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 deletions.
9 changes: 0 additions & 9 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,6 @@
"version" : "1.1.0"
}
},
{
"identity" : "swift-backtrace",
"kind" : "remoteSourceControl",
"location" : "https://github.com/swift-server/swift-backtrace.git",
"state" : {
"revision" : "f25620d5d05e2f1ba27154b40cafea2b67566956",
"version" : "1.3.3"
}
},
{
"identity" : "swift-collections",
"kind" : "remoteSourceControl",
Expand Down
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/apple/swift-nio.git", from: "2.57.0"),
.package(url: "https://github.com/swift-server/swift-backtrace.git", from: "1.3.3"),
// .package(url: "https://github.com/swift-server/swift-backtrace.git", from: "1.3.3"),
],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
Expand Down Expand Up @@ -220,7 +220,7 @@ let package = Package(
dependencies: [
"libwebsockets",
.product(name: "NIOPosix", package: "swift-nio"),
.product(name: "Backtrace", package: "swift-backtrace"),
// .product(name: "Backtrace", package: "swift-backtrace"),
]),
]
)
4 changes: 2 additions & 2 deletions Tests/libwebsocketsTests/AutobahnClientTestsRunner.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import NIOPosix
import Darwin.C
#endif
@testable import libwebsockets
import Backtrace
//import Backtrace

final class AutobahnTestRunner: XCTestCase {
enum Error: Swift.Error {
Expand All @@ -25,7 +25,7 @@ final class AutobahnTestRunner: XCTestCase {
super.setUp()

// Swift Backtraces
Backtrace.install()
// Backtrace.install()

// var rlp = rlimit()
// getrlimit(RLIMIT_NOFILE, &rlp)
Expand Down

0 comments on commit 2d8be89

Please sign in to comment.