Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/_TestingInternals/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if(NOT BUILD_SHARED_LIBS)
# When building a static library, install the internal library archive
# alongside the main library. In shared library builds, the internal library
# is linked into the main library and does not need to be installed separately.
get_swift_install_lib_dir(STATIC_LIBRARY lib_destination_dir)
get_swift_testing_install_lib_dir(STATIC_LIBRARY lib_destination_dir)
install(TARGETS _TestingInternals
ARCHIVE DESTINATION ${lib_destination_dir})
endif()
2 changes: 1 addition & 1 deletion Sources/_TestingInternals/include/Includes.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
#include <sys/fcntl.h>
#endif

#if __has_include(<sys/resource.h>)
#if __has_include(<sys/resource.h>) && !defined(__wasi__)
#include <sys/resource.h>
#endif

Expand Down