mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Add a test for Wasm toolchain in the legacy driver
This commit is contained in:
4
test/Driver/wasm.swift
Normal file
4
test/Driver/wasm.swift
Normal file
@@ -0,0 +1,4 @@
|
||||
// RUN: %swiftc_driver -driver-print-jobs -target wasm32-unknown-wasi -v %s 2>&1 | %FileCheck %s -check-prefix=CHECK-WASM
|
||||
|
||||
// CHECK-WASM: swift{{.*}} -frontend -c -primary-file {{.*}} -target wasm32-unknown-wasi -disable-objc-interop
|
||||
// CHECK-WASM: clang{{.*}} -lswiftCore --target=wasm32-unknown-wasi -v {{.*}}-o
|
||||
Reference in New Issue
Block a user