Sorry for yet another iteration of this. I noticed that the build host flags
were not being applied to rustc when cross-compiling. Upon investigation, I
found that this isn't actually possible right now. I have reworked it to be
close to what we need when it does become possible.

James Le Cuirot (6):
  cargo.eclass: Use newer Cargo config file name
  cargo.eclass: Add cargo_env helper and use it in compile, test,
    install
  cargo.eclass: Handle LDFLAGS and RUSTFLAGS better
  cargo.eclass: Explicitly tell rustc not to strip binaries
  cargo.eclass: Shadow flag variables so that LTO filtering remains
    local
  distutils-r1.eclass: Use cargo_env when appropriate for flag handling

 eclass/cargo.eclass        | 93 ++++++++++++++++++++++++++------------
 eclass/distutils-r1.eclass | 16 ++-----
 2 files changed, 69 insertions(+), 40 deletions(-)

--
2.45.2

Reply via email to