<sphalerite>
/nix/store/7v7ai07bc2n1sv7xgfrykj1913lip7m7-rustc-1.39.0/lib/rustlib/aarch64-unknown-linux-musl/lib/crt1.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), with debug_info, not stripped
<sphalerite>
wut
<samueldr>
are you using native builds or cross-compilations?
<samueldr>
I never got rust to cross-compile in my few tries
<sphalerite>
cross
<sphalerite>
uh oh :p
<sphalerite>
it feels like it's so close, but I have no idea what the little bit of magic to make it work is
<sphalerite>
pretty sure that object file shouldn't be x86-64 though :D
<sphalerite>
quite annoying though, I just want my symlink resolution program built and to having a reasonable closure size
<sphalerite>
I wrote it in rust, cross-compiling it is difficult
<sphalerite>
I translated it to C++, for some reason the build of that retains references to gcc so the closure size is insane
<sphalerite>
I think for now I need to go to bed
<samueldr>
oh, but don't despair and try fixing it, if it works
<samueldr>
I wasn't using rustc directly, but trying both to get a rustPackage from nixpkgs and carnix going with cross