mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
Add module map for CSKTestSupport
Create a module map for the CSKTestSupport module, exporting the header "CSKTestSupport.h". This allows for better modularization and encapsulation of the support functionalities. Signed-off-by: Maxwell Elliott <maxwell@elliott.now>
This commit is contained in:
10
Sources/CSKTestSupport/include/CSKTestSupport.h
Normal file
10
Sources/CSKTestSupport/include/CSKTestSupport.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef CSKTestSupport_h
|
||||
#define CSKTestSupport_h
|
||||
|
||||
#ifdef __linux__
|
||||
// For testing, override __cxa_atexit to prevent registration of static
|
||||
// destructors due to https://github.com/swiftlang/swift/issues/55112.
|
||||
int __cxa_atexit(void (*f) (void *), void *arg, void *dso_handle);
|
||||
#endif
|
||||
|
||||
#endif /* CSKTestSupport_h */
|
||||
@@ -0,0 +1,4 @@
|
||||
module CSKTestSupport {
|
||||
header "CSKTestSupport.h"
|
||||
export *
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user