RuntimeTools / SwiftMetrics

Swift Application Metrics instruments the Swift runtime for performance monitoring, providing the monitoring data programatically via an API or visually with an Eclipse Client.
https://developer.ibm.com/swift/monitoring-diagnostics/application-metrics-for-swift/
Other
154 stars 49 forks source link

Support Swift 5.1 #222

Closed djones6 closed 5 years ago

djones6 commented 5 years ago

Due to changes to Foundation structure, we are now required to import FoundationNetworking on Linux to access HTTPCookie and similar types.

This is guarded by the new #if canImport statement which is the recommended way to handle FoundationNetworking (which itself has to be guarded by #if swift(>=4.1), as Swift 4.0 didn't have that).

I also added an xcode11 Travis build for testing against Swift 5.1. I haven't added Linux builds as I understand from reading #219 that there are some test issues on Xenial. This should be added once those are fixed.