burtonageo/cargo-bundle

path resolver is broken on nesting rust project

oligamiq opened this issue · 3 comments

$ 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.

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