Avatar
https://github.com/swiftlang/swift-org-website/pull/1251 ここを読んでいて,最近の main-snapshot だと SourceKit-LSP の backgroundIndexing がデフォルトで true になったことによって .sourcekit-lsp/config.jsontoolsets が書かれていると Swift target が Swift target に依存している場合の import Hoge が全部 "No such module Hoge" エラーになっちゃう問題が Embedded Swift で起こっているので,Wasm でも swiftSDK 指定って結局 toolset の集合だから同じことが起こりそうだなというのが気になりました. (edited)
Motivation: I'd like to move Swift on Wasm development docs from book.swiftwasm.org to swift.org as much as possible so that developers don't need to switch documentation sites. For...
7:05 PM
Embedded Swift の場合は最小再現コードがあります.Foo.swift を開くと import Bar のところでエラーが出て,.sourcekit-lsp/config.json"backgroundIndexing": false を追加すると消えるのが確認できます.