Skip to content

Commit

Permalink
Fix compilation source in documentation (#250)
Browse files Browse the repository at this point in the history
in build-swiftc-links-rust.sh, the command
swiftc -L target/x86_64-apple-darwin/debug/ -lswift_and_rust -import-objc-header bridging-header.h \
  main.swift lib.swift ./generated/swift-and-rust/swift-and-rust.swift 
is missing the source ./generated/SwiftBridgeCore.swift
  • Loading branch information
ItamarMu authored Jan 30, 2024
1 parent 0614ba7 commit a8059a4
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 @@ -122,7 +122,7 @@ set -e

cargo build --target x86_64-apple-darwin
swiftc -L target/x86_64-apple-darwin/debug/ -lswift_and_rust -import-objc-header bridging-header.h \
main.swift lib.swift ./generated/swift-and-rust/swift-and-rust.swift
main.swift lib.swift ./generated/swift-and-rust/swift-and-rust.swift ./generated/SwiftBridgeCore.swift
```

```sh
Expand Down

0 comments on commit a8059a4

Please sign in to comment.