Skip to content
New issue

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

path resolver is broken on nesting rust project #170

Closed
oligamiq opened this issue Nov 22, 2023 · 3 comments · Fixed by #186
Closed

path resolver is broken on nesting rust project #170

oligamiq opened this issue Nov 22, 2023 · 3 comments · Fixed by #186

Comments

@oligamiq
Copy link

$ cargo bundle --target x86_64-apple-ios --format ios
    Finished dev [unoptimized + debuginfo] target(s) in 0.08s
warning: iOS bundle support is still experimental.
    Bundling ios-beta.app
error: Failed to copy binary from "/Users/runner/work/nickname/nickname/nickname/target/x86_64-apple-ios/debug/cacao"
  Caused by: "/Users/runner/work/nickname/nickname/nickname/target/x86_64-apple-ios/debug/cacao" does not exist
$ echo $(pwd)
/Users/runner/work/nickname/nickname/nickname/examples/iphone

image

I changed examples -> example -> test, but all folder is failed.
I cp ../ but failed.
I cp without nickname workspace and succussed

I think path resolver is broken on nesting rust project.

@ActuallyHappening
Copy link
Contributor

I have had similar issue, nested project fails with "Failed to copy binary from "

ActuallyHappening added a commit to ActuallyHappening/cargo-bundle that referenced this issue Mar 11, 2024
mdsteele added a commit that referenced this issue Mar 13, 2024
fix(#170): Now considers the CWD to be a workspace root
@radiohertz
Copy link

Is this fixed? v0.6.1 fails with "Failed to copy binary from " but bundling with v0.6.0 works fine.

cc @ActuallyHappening @mdsteele

@mdsteele
Copy link
Collaborator

If you can diagnose this and send a PR to fix, I can put out a v0.6.2 to include it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants