Closed piertoni closed 9 months ago
Not-a-bug. You set up your environment in a way that results in:
TARGET = Some("x86_64-unknown-linux-gnu")
CC = Some("/usr/bin/arm-linux-gnueabihf-gcc")
which inherently makes little sense as a combination within a single build of a crate. If you read the list of the environment variables in the error message carefully you should be able to figure out a correct way to set up an environment such that the build succeeds.
Please keep in mind that v0.5.2 is 4 years old. Consider upgrading or having your dependencies upgrade their dependencies.
Hi, I have a problem trying to cross-compile a project to arm, in fact there is an option
-m64
tha is passed to arm-linux-gnueabihf-gcc that is not supported:cargo build output:
My .cargo/config.toml contains the following:
Operating system is Linux Mint
Cargo.toml file contains:
Any help would be appreciated, thanks!