Skip to content

Instantly share code, notes, and snippets.

View oleggtro's full-sized avatar
🚿
jungs, ich bin duschen

Ole oleggtro

🚿
jungs, ich bin duschen
View GitHub Profile
@Jomy10
Jomy10 / rust_in_swift.md
Last active April 4, 2025 23:17
Calling Rust library from Swift code (creating executable)

Calling a Rust library from Swift

This gist shows a quick overview of calling Rust in a Swift project, with Swift Package Manager configured.

Let's go ahead and create a folder containing all our sources:

mkdir swift-rs && cd $_