     return unsafeBitCast(ptr, to: T.self)
 }
 
+// FIXME: deprecate 2/2022, remove once clients transitioned
+@available(*, deprecated, message: "moved to swift-driver")
 public func dlclose(_ handle: DLHandle) throws {
     try handle.close()
 }
 
 #if !os(Windows)
+// FIXME: deprecate 2/2022, remove once clients transitioned
+@available(*, deprecated, message: "moved to swift-driver")
 public func dlerror() -> String? {
     if let err: UnsafeMutablePointer<Int8> = dlerror() {
         return String(cString: err)

    }
}

public func dlopen(_ path: String?, mode: DLOpenFlags) throws -> DLHandle {
  #if os(Windows)
    guard let handle = path?.withCString(encodedAs: UTF16.self, LoadLibraryW) else {

    }
}

// FIXME: deprecate 2/2022, remove once clients transitioned
@available(*, deprecated, message: "moved to swift-driver")
public enum DLError: Error {
    case `open`(String)
    case close(String)
