Avatar
Avatar
norio_nomura
swift-wasi -version -vは以下のようなコマンドラインでswiftを起動してます。 exec swift -target wasm32-unknown-wasi -I -resource-dir /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 -sdk /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 -Xcc -isysroot -Xcc /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 -Xfrontend -tools-directory -Xfrontend /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/bin -static-stdlib -version -v (edited)
これを見ると -I -resource-dir となってて-resource-dirがinclude dirとして解釈されちゃってそう