Ximin Luo: > ---- > $ xxd > debian/libstd-rust-dev/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-b6402de156fe6ac9.rlib > | head -n16 > 00000000: 213c 6172 6368 3e0a 2f20 2020 2020 2020 !<arch>./ > 00000010: 2020 2020 2020 2020 3020 2020 2020 2020 0 > 00000020: 2020 2020 3020 2020 2020 3020 2020 2020 0 0 > 00000030: 3020 2020 2020 2020 3132 3037 3634 2020 0 120764 > [,,]
Test cases are attached - the first 512 bytes of libstd.rlib and libcore.rlib respectively. $ perl -e 'print((-B "libstd.head") ? "yes\n" : "no\n");' no $ perl -e 'print((-B "libcore.head") ? "yes\n" : "no\n");' yes More info here: https://eli.thegreenplace.net/2011/10/19/perls-guess-if-file-is-text-or-binary-implemented-in-python X -- GPG: ed25519/56034877E1F87C35 GPG: rsa4096/1318EFAC5FBBDBCE https://github.com/infinity0/pubkeys.git
libcore.head
Description: Binary data
libstd.head
Description: Binary data