diff --git a/.cargo/config.toml b/.cargo/config.toml index 4ed54d3..b35f67e 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -15,6 +15,10 @@ rustflags = ["-C", "target-feature=+crt-static"] linker = "rust-lld" rustflags = ["-C", "target-feature=+crt-static"] +[target.armv7-unknown-linux-musleabi] +linker = "rust-lld" +rustflags = ["-C", "target-feature=+crt-static"] + # Disable rust-lld for x86 macOS because the linker crashers when compiling # the installer in release mode with debug info on. # [target.x86_64-apple-darwin] diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0426294..b680142 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -162,7 +162,7 @@ jobs: target: x86_64-unknown-linux-musl - name: linux-armv7 os: ubuntu-latest - target: armv7-unknown-linux-musleabihf + target: armv7-unknown-linux-musleabi - name: linux-aarch64 os: ubuntu-24.04-arm target: aarch64-unknown-linux-musl @@ -272,7 +272,7 @@ jobs: target: x86_64-unknown-linux-musl - name: linux-armv7 os: ubuntu-latest - target: armv7-unknown-linux-musleabihf + target: armv7-unknown-linux-musleabi - name: linux-aarch64 os: ubuntu-24.04-arm target: aarch64-unknown-linux-musl diff --git a/doc/installing-from-release.md b/doc/installing-from-release.md index c87f87c..1cefe42 100644 --- a/doc/installing-from-release.md +++ b/doc/installing-from-release.md @@ -5,6 +5,7 @@ Make sure you've got one of Rayhunter's [supported devices](./supported-devices. 1. Download the latest `rayhunter-vX.X.X-PLATFORM.zip` from the [Rayhunter releases page](https://github.com/EFForg/rayhunter/releases) for your platform: - for Linux on x64 architecture: `linux-x64` - for Linux on ARM64 architecture: `linux-aarch64` + - for Linux on armv7/v8 (32-bit) architecture: `linux-armv7` - for MacOS on Intel (old macbooks) architecture: `macos-intel` - for MacOS on ARM (M1/M2 etc.) architecture: `macos-arm` - for Windows: `windows-x86_64` diff --git a/doc/installing-from-source.md b/doc/installing-from-source.md index c41d211..976d570 100644 --- a/doc/installing-from-source.md +++ b/doc/installing-from-source.md @@ -25,8 +25,9 @@ rustup target add armv7-unknown-linux-musleabihf # check which toolchain you have installed by default with rustup show # now install the correct variant for your host platform, one of: -rustup target add x86_64-unknown-linux-musl rustup target add aarch64-unknown-linux-musl +rustup target add armv7-unknown-linux-musleabi +rustup target add x86_64-unknown-linux-musl rustup target add aarch64-apple-darwin rustup target add x86_64-apple-darwin rustup target add x86_64-pc-windows-gnu