mirror of
https://github.com/apple/swift.git
synced 2026-10-26 20:15:53 +01:00
Extract the WinRT module from WinSDK. This resides in a separate directory (winrt). Similar to how the UM and shared directories are now proper submodules, create an isolated subdirectory for the system vended WinRT module. Unfortunately, due to a cycle, we need to add a shim header to allow us to break the WinSDK.UM/WinSDK.WinRT interdependency.
11 lines
298 B
Swift
11 lines
298 B
Swift
// RUN: %target-typecheck-verify-swift
|
|
// REQUIRES: OS=windows-msvc
|
|
|
|
// WinRT remains part of the API surface imported through WinSDK even though
|
|
// its Clang submodule is defined by an external component module map.
|
|
|
|
import WinSDK
|
|
|
|
let _: RO_INIT_TYPE = RO_INIT_MULTITHREADED
|
|
let _ = RoInitialize
|