Skip to content

Commit e7a7e23

Browse files
Merge pull request #672 from kateinoigakukun/yt/fix-last-min-change
Fix a typo in a call of install path getter function name
2 parents f078f7a + 12a7ddf commit e7a7e23

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/_TestingInternals/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ if(NOT BUILD_SHARED_LIBS)
2222
# When building a static library, install the internal library archive
2323
# alongside the main library. In shared library builds, the internal library
2424
# 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)
2626
install(TARGETS _TestingInternals
2727
ARCHIVE DESTINATION ${lib_destination_dir})
2828
endif()

Sources/_TestingInternals/include/Includes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
#include <sys/fcntl.h>
5959
#endif
6060

61-
#if __has_include(<sys/resource.h>)
61+
#if __has_include(<sys/resource.h>) && !defined(__wasi__)
6262
#include <sys/resource.h>
6363
#endif
6464

0 commit comments

Comments
 (0)