mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Driver] Expose -emit-parseable-module-interface[-path]
Commit to a command line option spelling so that build systems can start testing it. I deliberately picked one of the longer names we were considering because we can always decide to add a shorter alias, but can't decide a shorter name was too generic. Like the other supplementary output flags, -emit-parseable-module-interface-path will emit a .swiftinterface file to a particular path, while -emit-parseable-module-interface will put it next to the main output (the one specified with -o). rdar://problem/43776945
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// RUN: rm -f %t
|
||||
// RUN: not %target-swift-frontend -emit-interface-path %t -emit-module -o /dev/null %s
|
||||
// RUN: not %target-swift-frontend -emit-parseable-module-interface-path %t -emit-module -o /dev/null %s
|
||||
// RUN: test ! -f %t
|
||||
// RUN: %target-swift-frontend -emit-interface-path %t -typecheck %s
|
||||
// RUN: %target-swift-frontend -emit-parseable-module-interface-path %t -typecheck %s
|
||||
// RUN: test -f %t
|
||||
|
||||
public struct BadInit {
|
||||
|
||||
Reference in New Issue
Block a user