#swift #run-time #bindings #generated-bindings #sys

bin+lib swift-runtime-sys

Rust bindings generated for the Swift Runtime

3 releases

0.0.3 Oct 1, 2024
0.0.2 Aug 6, 2024
0.0.1 Aug 6, 2024

#13 in #sys

Download history 185/week @ 2024-08-01 33/week @ 2024-08-08 1/week @ 2024-08-15 15/week @ 2024-09-12 13/week @ 2024-09-19 203/week @ 2024-09-26 50/week @ 2024-10-03 2/week @ 2024-10-10

261 downloads per month

Apache-2.0

1MB
31K SLoC

swift-runtime-sys

An attempt to have Rust bindings generated for the Swift Runtime.

Status: WIP!

Pick Swift version

cd swift && git checkout swift-6.0.1-RELEASE

Build the bindings

export SWIFT_RUNTIME=$(xcrun -show-sdk-path)/usr/lib/swift
cargo build

License

Apache 2.0

No runtime deps

~0–1.9MB
~37K SLoC