File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed
.github/workflows/scripts Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -25,15 +25,15 @@ LIBS_TO_CHECK="libFoundation.so libFoundationInternationalization.so lib_Foundat
2525pushd Examples/${EXAMPLE} || fatal " Failed to change directory to Examples/${EXAMPLE} ."
2626
2727# recompile the example without the --static-swift-stdlib flag
28- LAMBDA_USE_LOCAL_DEPS=../.. swift build -c release -Xlinker -s || fatal " Failed to build the example."
28+ LAMBDA_USE_LOCAL_DEPS=../.. swift build -c release || fatal " Failed to build the example."
2929
3030# check if the binary exists
3131if [ ! -f " ${OUTPUT_FILE} " ]; then
32- error " ❌ ${OUTPUT_FILE} does not exist."
32+ fatal " ❌ ${OUTPUT_FILE} does not exist."
3333fi
3434
3535# Checking for Foundation or ICU dependencies
36- echo " Checking for Foundation or ICU dependencies in ${OUTPUT_DIR} / ${ OUTPUT_FILE} ."
36+ echo " Checking for Foundation or ICU dependencies in ${OUTPUT_FILE} ."
3737LIBRARIES=$( ldd ${OUTPUT_FILE} | awk ' {print $1}' )
3838for LIB in ${LIBS_TO_CHECK} ; do
3939 echo -n " Checking for ${LIB} ... "
Original file line number Diff line number Diff line change @@ -16,12 +16,6 @@ import Logging
1616import NIOCore
1717import Synchronization
1818
19- #if canImport(FoundationEssentials)
20- import FoundationEssentials
21- #else
22- import Foundation
23- #endif
24-
2519// This is our guardian to ensure only one LambdaRuntime is running at the time
2620// We use an Atomic here to ensure thread safety
2721@available ( LambdaSwift 2 . 0 , * )
You can’t perform that action at this time.
0 commit comments