Skip to content

Commit e3962b9

Browse files
authored
Rustler precompiled: Add musl targets (#33)
1 parent 1a63a3b commit e3962b9

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches:
66
- main
7-
- rustler-precompiled
7+
- rustler-precompiled2
88
tags:
99
- '*'
1010

@@ -19,10 +19,12 @@ jobs:
1919
job:
2020
- { target: arm-unknown-linux-gnueabihf , os: ubuntu-20.04 , use-cross: true }
2121
- { target: aarch64-unknown-linux-gnu , os: ubuntu-20.04 , use-cross: true }
22+
- { target: aarch64-unknown-linux-musl , os: ubuntu-20.04 , use-cross: true }
2223
- { target: aarch64-apple-darwin , os: macos-11 }
2324
- { target: riscv64gc-unknown-linux-gnu , os: ubuntu-20.04 , use-cross: true }
2425
- { target: x86_64-apple-darwin , os: macos-11 }
2526
- { target: x86_64-unknown-linux-gnu , os: ubuntu-20.04 }
27+
- { target: x86_64-unknown-linux-musl , os: ubuntu-20.04 , use-cross: true }
2628
- { target: x86_64-pc-windows-gnu , os: windows-2019 }
2729
- { target: x86_64-pc-windows-msvc , os: windows-2019 }
2830

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ExKeccak
22

3-
[![Build Status](https://www.travis-ci.com/tzumby/ex_keccak.svg?branch=master)](https://www.travis-ci.com/tzumby/ex_keccak)
3+
[![CI](https://github.com/tzumby/ex_keccak/actions/workflows/ci.yml/badge.svg)](https://github.com/tzumby/ex_keccak/actions/workflows/ci.yml)
44

55
ExKeccak is a NIF that wraps the KECCAK-256 function from the [tiny-keccak](https://github.com/debris/tiny-keccak) Rust library. KECCAK-256 is used by Ethereum.
66

native/exkeccak/.cargo/config

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,10 @@ rustflags = [
1616
"-C", "target-feature=-crt-static"
1717
]
1818

19+
[target.aarch64-unknown-linux-musl]
20+
rustflags = [
21+
"-C", "target-feature=-crt-static"
22+
]
23+
1924
[profile.release]
2025
lto = true

0 commit comments

Comments
 (0)