BrainiumLLC / cargo-mobile

Rust on mobile made easy!
Apache License 2.0
1.24k stars 52 forks source link

Fails to build when target is moved. #95

Open clay53 opened 2 years ago

clay53 commented 2 years ago

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.