mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This fixes explicit module builds for a hello world program on Windows as well as the ucrt import build failure as in the included test.
12 lines
362 B
Swift
12 lines
362 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: %target-swift-frontend -scan-dependencies -Xcc -v %s -o - | %validate-json | %FileCheck %s
|
|
|
|
// We want to explicitly import WinSDK's CRT.
|
|
// REQUIRES: OS=windows-msvc
|
|
|
|
import CRT
|
|
|
|
// CHECK: "modulePath": "{{.*}}\\ucrt-{{.*}}.pcm",
|
|
// CHECK-NEXT: "sourceFiles": [
|
|
// CHECK-NEXT: "{{.*}}\\ucrt\\module.modulemap"
|