Closed xuxiaocheng0201 closed 8 months ago
However, I set the
[target.aarch64-linux-android.ar]
in.cargo/config.toml
.
The documentation at https://doc.rust-lang.org/cargo/reference/config.html#targettriplear says:
[target.<triple>.ar]
This option is deprecated and unused.
It looks like you need to set AR (if not using --target
to build) or TARGET_AR
or related environment variable, instead of .cargo/config.toml, based on the above. See mk/cargo.sh
in ring's source code.
It looks like you need to set AR (if not using
--target
to build) orTARGET_AR
or related environment variable, instead of .cargo/config.toml, based on the above. Seemk/cargo.sh
in ring's source code.
Thank you, I will try later.
When I cross-compiled from Windows to Android, it occurred an error:
However, I set the
[target.aarch64-linux-android.ar]
in.cargo/config.toml
.Then I created a symbol link linked to ar and it worked, so I'm not care about the real reason. But I think this should be a bug.