gistfile1.txt
· 1.2 KiB · Text
Raw
swee @ candycorn
/Git/dataurlify UwU $ echo $RUSTFLAGS
-C linker=rust-lld
swee @ candycorn
/Git/dataurlify UwU $ cargo build --target aarch64-unknown-linux-musl
Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.26s
swee @ candycorn
/Git/dataurlify UwU $ ldd ./target/aarch64-unknown-linux-musl/debug/dataurlify
/lib/ld-musl-x86_64.so.1: ./target/aarch64-unknown-linux-musl/debug/dataurlify: Not a valid dynamic program
swee @ candycorn
/Git/dataurlify OwO 1 $ ./target/aarch64-unknown-linux-musl/debug/dataurlify
bash: ./target/aarch64-unknown-linux-musl/debug/dataurlify: cannot execute binary file: Exec format error
swee @ candycorn
/Git/dataurlify OwO 126 $ sudo rc-service qemu-binfmt start
doas (swee@candycorn) password:
qemu-binfmt | * Registering QEMU binaries in binfmt misc ... [ ok ]
swee @ candycorn
/Git/dataurlify UwU $ ./target/aarch64-unknown-linux-musl/debug/dataurlify
error: the following required arguments were not provided:
<FILES>...
Usage: dataurlify <FILES>...
For more information, try '--help'.
swee @ candycorn
/Git/dataurlify OwO 2 $
| 1 | swee @ candycorn |
| 2 | /Git/dataurlify UwU $ echo $RUSTFLAGS |
| 3 | -C linker=rust-lld |
| 4 | swee @ candycorn |
| 5 | /Git/dataurlify UwU $ cargo build --target aarch64-unknown-linux-musl |
| 6 | Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.26s |
| 7 | swee @ candycorn |
| 8 | /Git/dataurlify UwU $ ldd ./target/aarch64-unknown-linux-musl/debug/dataurlify |
| 9 | /lib/ld-musl-x86_64.so.1: ./target/aarch64-unknown-linux-musl/debug/dataurlify: Not a valid dynamic program |
| 10 | swee @ candycorn |
| 11 | /Git/dataurlify OwO 1 $ ./target/aarch64-unknown-linux-musl/debug/dataurlify |
| 12 | bash: ./target/aarch64-unknown-linux-musl/debug/dataurlify: cannot execute binary file: Exec format error |
| 13 | swee @ candycorn |
| 14 | /Git/dataurlify OwO 126 $ sudo rc-service qemu-binfmt start |
| 15 | doas (swee@candycorn) password: |
| 16 | qemu-binfmt | * Registering QEMU binaries in binfmt misc ... [ ok ] |
| 17 | swee @ candycorn |
| 18 | /Git/dataurlify UwU $ ./target/aarch64-unknown-linux-musl/debug/dataurlify |
| 19 | error: the following required arguments were not provided: |
| 20 | <FILES>... |
| 21 | |
| 22 | Usage: dataurlify <FILES>... |
| 23 | |
| 24 | For more information, try '--help'. |
| 25 | swee @ candycorn |
| 26 | /Git/dataurlify OwO 2 $ |