cargo-mobile icon indicating copy to clipboard operation
cargo-mobile copied to clipboard

Fails to build when target is moved.

Open clay53 opened this issue 2 years ago • 0 comments

For my workspace, I have my target moved to another folder.

[build]
target-dir = "../../../../../Nextcloud_Cargo/git/github/clay53/tutor_engine"

Trying to build, I get this error. Looking in a target folder that's not there:

 error: Failed to symlink lib
    The symlink source is
    "/home/clay53/Nextcloud/git/github/clay53/tutor_engine/mobile/target/aarch64
    -linux-android/debug/libmobile.so", but nothing exists there

Can workaround by creating a symlink to it.

clay53 avatar Jun 20 '22 19:06 clay53