diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5233a33..f084c7a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,6 +36,7 @@ jobs: features: "static_openssl", } - { target: aarch64-unknown-linux-gnu, os: ubuntu-20.04, nif: "2.16", use-cross: true } + - { target: aarch64-unknown-linux-musl, os: ubuntu-20.04, nif: "2.16", use-cross: true, features: "static_openssl" } - { target: aarch64-apple-darwin, os: macos-11, nif: "2.16" } - { target: x86_64-apple-darwin, os: macos-11, nif: "2.16" } - { target: x86_64-unknown-linux-gnu, os: ubuntu-20.04, nif: "2.16" } @@ -51,6 +52,7 @@ jobs: features: "static_openssl", } - { target: aarch64-unknown-linux-gnu, os: ubuntu-20.04, nif: "2.15", use-cross: true } + - { target: aarch64-unknown-linux-musl, os: ubuntu-20.04, nif: "2.15", use-cross: true, features: "static_openssl" } - { target: aarch64-apple-darwin, os: macos-11, nif: "2.15" } - { target: x86_64-apple-darwin, os: macos-11, nif: "2.15" } - { target: x86_64-unknown-linux-gnu, os: ubuntu-20.04, nif: "2.15" } @@ -66,6 +68,7 @@ jobs: features: "static_openssl", } - { target: aarch64-unknown-linux-gnu, os: ubuntu-20.04, nif: "2.14", use-cross: true } + - { target: aarch64-unknown-linux-musl, os: ubuntu-20.04, nif: "2.14", use-cross: true, features: "static_openssl" } - { target: aarch64-apple-darwin, os: macos-11, nif: "2.14" } - { target: x86_64-apple-darwin, os: macos-11, nif: "2.14" } - { target: x86_64-unknown-linux-gnu, os: ubuntu-20.04, nif: "2.14" } diff --git a/native/ex_tokenizers/.cargo/config b/native/ex_tokenizers/.cargo/config index 082078b..e154738 100644 --- a/native/ex_tokenizers/.cargo/config +++ b/native/ex_tokenizers/.cargo/config @@ -14,3 +14,8 @@ rustflags = [ rustflags = [ "-C", "target-feature=-crt-static" ] + +[target.aarch64-unknown-linux-musl] +rustflags = [ + "-C", "target-feature=-crt-static" +] \ No newline at end of file