Skip to content

Commit dba45c0

Browse files
committed
Add support for Android
1 parent 534ef10 commit dba45c0

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ jobs:
3636
# triple: x86_64-pc-windows-gnu
3737
- name: Linux
3838
triple: x86_64-unknown-linux-gnu
39+
- name: Android
40+
triple: aarch64-linux-android
3941
- name: macOS
4042
triple: x86_64-apple-darwin
4143
- name: FreeBSD

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Unreleased
2+
- Added support for Android
3+
14
# 0.1.4
25

36
- Modified MacOS implementation to be friendly towards Apple app store review guidelines.

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
use std::num::NonZeroUsize;
44

5-
#[cfg_attr(target_os = "linux", path = "linux.rs")]
5+
#[cfg_attr(any(target_os = "linux", target_os = "android"), path = "linux.rs")]
66
#[cfg_attr(target_os = "freebsd", path = "freebsd.rs")]
77
#[cfg_attr(target_os = "macos", path = "macos.rs")]
88
mod imp;

0 commit comments

Comments
 (0)