Skip to content

Commit

Permalink
book: correct Swift lib name
Browse files Browse the repository at this point in the history
  • Loading branch information
integer-overflown committed Jun 14, 2024
1 parent 0ab35e2 commit 9dd787f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/src/building/swiftc-and-cargo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ when you have `Cargo` linking in the Swift code.
```rust
// build.rs
fn main() {
println!("cargo:rustc-link-lib=static=swiftc_link_rust");
println!("cargo:rustc-link-lib=static=my_swift");
println!("cargo:rustc-link-search=./");
}
```
Expand Down

0 comments on commit 9dd787f

Please sign in to comment.