-
**Description**
While trying to compile the same swift to wasm from both linux and macos, I noticed that some builds would fail depending on the host OS for the same toolchain release.
**Steps to …
-
## What is Swift SDK?
Swift SDK is defined in [SE-0387](https://github.com/swiftlang/swift-evolution/blob/main/proposals/0387-cross-compilation-destinations.md).
It can be installed by `swift sd…
kkebo updated
3 months ago
-
A dependency with a resource fails to have its resources copied by `carton bundle`. I've updated the linked repository to show the problem.
This is the output of `carton bundle`:
```
Bundle
├─…
-
build wasm file is very big
golang is 2mb+
rust is 20k+
this is 9.5mb
-
**Example Code**:
```
import Foundation
let decoder = JSONDecoder()
```
**Result**
Without optimization, browser reports wasm file size of ~27MB, and ~11MB without any code
**Proposed sol…
-
Currently, carton always starts looking for `swift` binary in the `~/.swiftenv` directory inferring the full path based on the content in `.swift-version`. This breaks when the version specified in `.…
-
### Version 0.0.8
I tried to make a global so I can access it from the module but it appears the initializer of `GlobalInstance` is inaccessible. It might be because it's not marked as public and sin…
-
I've been thinking about CSS-specific styles that one might want to add to further customize generated styles, somewhat similar in principle to the `HTML` view that allows injecting arbitrary HTML. I'…
-
When you try to compile this while using the Carson-katri fork of SwiftWebUI, you will get the following error:
"The package product 'SwiftWebUI' requires minimum platform version 10.15 for the macO…
-
#### Description
Long-time Swift dev here, dipping into this WASM project for the first time. This Swift file prints _"Hello, WASM"_:
```swift
> main.swift:
print("Hello, WASM!")
```
The f…