Closed Runeii closed 1 year ago
I think I've spotted what I'm doing wrong, will follow up once I've confirmed it.
There were a few issues here, listing them for anyone who might have similar issues. I'll leave my (fixed) minimal example on the link above for anyone who needs it.
swift-rs = { git = "https://github.com/Brendonovich/swift-rs/", branch = "next" }
build = "src/build.rs"
to your CargofileHope that helps
I think I'm having this same issue but it looks like your repo is gone or private, could you share the relevant snippets here? @Runeii
@billyjacoby I hit that error because I forgot to put the src/build.rs
file into the project (which invokes swift_rs::SwiftLinker
). I didn't need to add it to my cargo.toml
file however.
Here's an example repo that has the same setup I'm using: https://github.com/LeviticusNelson/apple-vision-rs
Hi there,
I've set up a minimal reproduction of SwiftRS here: https://github.com/Runeii/rust-music-stats/tree/swift-rs
When I attempt to run
main.rs
I get the following error:For reference, Xcode builds without error.
I'm sure this is something simple that I'm doing wrong, but have tried to follow the setup instructions fairly closely. Does this typically run fine on M1/Ventura 13.0.1 machines?
Thanks