diff --git a/.cargo/config.toml b/.cargo/config.toml index 674071ff..a21a5f44 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -15,3 +15,6 @@ linker = "powerpc64le-linux-gnu-gcc" [target.s390x-unknown-linux-gnu] linker = "s390x-linux-gnu-gcc" + +[target.mips-unknown-linux-gnu] +linker = "mips-linux-gnu-gcc" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index efbd8950..dd8942eb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -83,6 +83,7 @@ jobs: - riscv64gc-unknown-linux-gnu - powerpc64le-unknown-linux-gnu - s390x-unknown-linux-gnu + - mips-unknown-linux-gnu runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -141,6 +142,7 @@ jobs: - riscv64 - powerpc64 - s390x + - mips target: - bpfel-unknown-none - bpfeb-unknown-none diff --git a/Cargo.toml b/Cargo.toml index ae881f36..6809beaa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -44,7 +44,7 @@ default-members = [ # ebpf crates are omitted; they must be built with: # --target bpfe{b,l}-unknown-none - # CARGO_CFG_BPF_TARGET_ARCH={x86_64,aarch64,arm,riscv64,powerpc64,s390x} + # CARGO_CFG_BPF_TARGET_ARCH={x86_64,aarch64,arm,riscv64,powerpc64,s390x,mips} ] [workspace.package]