Skip to content

Commit 0457451

Browse files
authored
test/lit.cfg: force static linking for WASI as dynamic is unsupported (#67467)
wasm32-unknown-wasi target doesn't support dynamic linking.
1 parent 17d21f9 commit 0457451

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/lit.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1838,7 +1838,7 @@ elif run_os == 'wasi':
18381838
config.swift_driver_test_options, swift_execution_tests_extra_flags])
18391839
config.target_codesign = "echo"
18401840
config.target_build_swift_dylib = (
1841-
"%s -parse-as-library -emit-library -o '\\1'"
1841+
"%s -parse-as-library -emit-library -static -o '\\1'"
18421842
% (config.target_build_swift))
18431843
config.target_add_rpath = ''
18441844
config.target_swift_frontend = ' '.join([

0 commit comments

Comments
 (0)