Skip to content
  • Fabrice Fontaine's avatar
    Add RUST_TARGET variable · f0b76ab6
    Fabrice Fontaine authored
    
    
    Add RUST_TARGET environment variable through AC_ARG_VAR to allow the
    user to override the rust target name. Indeed, using $host when
    cross-compiling is not always the good option especially when vendor
    part of target is not set to unknown but to another value such as
    buildroot.
    Indeed, in this case aarch64-buildroot-linux-gnu won't be recognised as
    a valid target by rust/cargo.
    
    Signed-off-by: default avatarFabrice Fontaine <fontaine.fabrice@gmail.com>
    f0b76ab6