We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, string concatenation is used to determine the path to be output for cargo:rustc-link-search=native=, as seen here:
cargo:rustc-link-search=native=
swift-rs/src-rs/build.rs
Line 80 in 1ca6430
So if the package_root argument to link_swift_package does not end with a /, the build breaks, and it's not obvious to the user why that has happened.
package_root
link_swift_package
/
This needs to be changed to use std::path's join mechanism instead of a simple string concatenation.
std::path
join
The text was updated successfully, but these errors were encountered:
PR #13 fixes this.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Currently, string concatenation is used to determine the path to be output for
cargo:rustc-link-search=native=
, as seen here:swift-rs/src-rs/build.rs
Line 80 in 1ca6430
So if the
package_root
argument tolink_swift_package
does not end with a/
, the build breaks, and it's not obvious to the user why that has happened.This needs to be changed to use
std::path
'sjoin
mechanism instead of a simple string concatenation.The text was updated successfully, but these errors were encountered: