▲ | bsaul 14 hours ago | |||||||
i tried building cross-platform libraries in swift for the past two years, with no success. I just did it in rust (ios / android / wasm) in a week, knowing nothing about the language. the swift wasm project still uses a forked compiler IIRC… | ||||||||
▲ | frizlab 5 hours ago | parent [-] | |||||||
> the swift wasm project still uses a forked compiler IIRC… No <https://forums.swift.org/t/stdlib-and-runtime-tests-for-wasm...>. Like I told you, I cross compile to all of the targets directly on my Mac (except windows that I do technically on my Mac, but on a VM). I could use Linux all the same. Swift now has the concept of Swift SDK (`swift sdk install …`) and it is possible to target whatever (that has an SDK) easily. Yes, they took their sweet time, but it now works properly. | ||||||||
|