File tree 2 files changed +2
-2
lines changed
Sources/_TestingInternals 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ if(NOT BUILD_SHARED_LIBS)
22
22
# When building a static library, install the internal library archive
23
23
# alongside the main library. In shared library builds, the internal library
24
24
# is linked into the main library and does not need to be installed separately.
25
- get_swift_install_lib_dir (STATIC_LIBRARY lib_destination_dir)
25
+ get_swift_testing_install_lib_dir (STATIC_LIBRARY lib_destination_dir)
26
26
install (TARGETS _TestingInternals
27
27
ARCHIVE DESTINATION ${lib_destination_dir} )
28
28
endif ()
Original file line number Diff line number Diff line change 58
58
#include <sys/fcntl.h>
59
59
#endif
60
60
61
- #if __has_include (< sys /resource .h > )
61
+ #if __has_include (< sys /resource .h > ) && !defined( __wasi__ )
62
62
#include <sys/resource.h>
63
63
#endif
64
64
You can’t perform that action at this time.
0 commit comments