mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #37211 from compnerd/windows-static-linking
IRGen: support static linking on Windows
This commit is contained in:
@@ -461,6 +461,11 @@ public:
|
||||
return Core->Bits.IsTestable;
|
||||
}
|
||||
|
||||
/// Whether this module is compiled as static library.
|
||||
bool isStaticLibrary() const {
|
||||
return Core->Bits.IsStaticLibrary;
|
||||
}
|
||||
|
||||
/// Whether the module is resilient. ('-enable-library-evolution')
|
||||
ResilienceStrategy getResilienceStrategy() const {
|
||||
return ResilienceStrategy(Core->Bits.ResilienceStrategy);
|
||||
|
||||
Reference in New Issue
Block a user