Skip to content

Commit

Permalink
Android support (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcprux authored Jan 14, 2025
1 parent 5293d4e commit 0b9ab66
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Sources/Instrumentation/Locks.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
import Darwin
#elseif canImport(Glibc)
import Glibc
#elseif canImport(Android)
import Android
#elseif canImport(Musl)
import Musl
#else
Expand Down
2 changes: 2 additions & 0 deletions Sources/Tracing/TracingTime.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
import Darwin
#elseif canImport(Glibc)
import Glibc
#elseif canImport(Android)
import Android
#elseif canImport(Musl)
import Musl
#else
Expand Down
2 changes: 1 addition & 1 deletion Tests/TracingTests/TracerTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import XCTest

@testable @_spi(Locking) import Instrumentation

#if os(Linux)
#if os(Linux) || os(Android)
@preconcurrency import Dispatch
#endif

Expand Down

0 comments on commit 0b9ab66

Please sign in to comment.