Avatar
norio_nomura 2/22/2025 5:30 AM
librarySearchPathsを設定してもダメだった。/usr/bin/wasm-ld-lc /usr/lib/clang/17/lib/wasi/libclang_rt.builtins-wasm32.aオプション付きで起動されてた。
"/usr/bin/wasm-ld" -m wasm32 -L/home/bot/.swiftpm/swift-sdks/swift-wasm-6.0.2-RELEASE-wasm32-unknown-wasi.artifactbundle/6.0.2-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi -L/home/bot/.swiftpm/swift-sdks/swift-wasm-6.0.2-RELEASE-wasm32-unknown-wasi.artifactbundle/6.0.2-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/clang/17/lib/wasi -L/home/bot/.swiftpm/swift-sdks/swift-wasm-6.0.2-RELEASE-wasm32-unknown-wasi.artifactbundle/6.0.2-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/lib/wasm32-wasi /home/bot/.swiftpm/swift-sdks/swift-wasm-6.0.2-RELEASE-wasm32-unknown-wasi.artifactbundle/6.0.2-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/lib/wasm32-wasi/crt1-command.o /home/bot/.swiftpm/swift-sdks/swift-wasm-6.0.2-RELEASE-wasm32-unknown-wasi.artifactbundle/6.0.2-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/wasm32/swiftrt.o /tmp/TemporaryDirectory.acuuX1/.o-1 -lswiftSwiftOnoneSupport -lswiftCore -lswift_Concurrency -lswift_StringProcessing -lswift_RegexParser -lswiftSwiftOnoneSupport -ldl -lc++ -lc++abi -lm -lwasi-emulated-mman -lwasi-emulated-signal -lwasi-emulated-process-clocks --error-limit=0 --threads=1 --global-base=4096 -v -lc /usr/lib/clang/17/lib/wasi/libclang_rt.builtins-wasm32.a -o main