     }
 }
 
+// FIXME: deprecate 2/2022, remove once clients transitioned
+@available(*, deprecated, message: "moved to swift-driver")
 public struct DLOpenFlags: RawRepresentable, OptionSet {
 
   #if !os(Windows)

    return DLHandle(rawValue: handle)
}

public func dlsym<T>(_ handle: DLHandle, symbol: String) -> T? {
  #if os(Windows)
    guard let ptr = GetProcAddress(handle.rawValue!, symbol) else {

import var Foundation.NSLocalizedDescriptionKey
import TSCLibc

// FIXME: deprecate 2/2022, remove once clients transitioned
@available(*, deprecated, message: "moved to swift-driver")
public final class DLHandle {
  #if os(Windows)
    typealias Handle = HMODULE
