File tree Expand file tree Collapse file tree 5 files changed +17
-4
lines changed Expand file tree Collapse file tree 5 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 27
27
jobs :
28
28
check :
29
29
name : Type checking (${{ matrix.target.name }})
30
- runs-on : ubuntu-latest
30
+ runs-on : ${{ matrix.target.host }}
31
31
if : ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork) || github.event_name == 'push' }}
32
32
strategy :
33
33
matrix :
@@ -36,10 +36,19 @@ jobs:
36
36
# triple: x86_64-pc-windows-gnu
37
37
- name : Linux
38
38
triple : x86_64-unknown-linux-gnu
39
+ host : ubuntu-latest
40
+ - name : Android
41
+ triple : aarch64-linux-android
42
+ host : ubuntu-latest
39
43
- name : macOS
40
44
triple : x86_64-apple-darwin
45
+ host : macos-latest
46
+ - name : iOS
47
+ triple : aarch64-apple-ios
48
+ host : macos-latest
41
49
- name : FreeBSD
42
50
triple : x86_64-unknown-freebsd
51
+ host : ubuntu-latest
43
52
44
53
steps :
45
54
- name : Checkout sources
Original file line number Diff line number Diff line change
1
+ # Unreleased
2
+ - Added support for Android
3
+ - Added support for iOS
4
+
1
5
# 0.1.4
2
6
3
7
- Modified MacOS implementation to be friendly towards Apple app store review guidelines.
Original file line number Diff line number Diff line change @@ -14,5 +14,5 @@ targets = ["x86_64-unknown-linux-gnu"]
14
14
15
15
[dependencies ]
16
16
17
- [target .'cfg(any(target_os = "macos", target_os = "freebsd"))' .dependencies ]
17
+ [target .'cfg(any(target_os = "macos", target_os = "ios", target_os = " freebsd"))' .dependencies ]
18
18
libc = " 0.2.107"
File renamed without changes.
Original file line number Diff line number Diff line change 2
2
3
3
use std:: num:: NonZeroUsize ;
4
4
5
- #[ cfg_attr( target_os = "linux" , path = "linux.rs" ) ]
5
+ #[ cfg_attr( any ( target_os = "linux" , target_os = "android" ) , path = "linux.rs" ) ]
6
6
#[ cfg_attr( target_os = "freebsd" , path = "freebsd.rs" ) ]
7
- #[ cfg_attr( target_os = "macos" , path = "macos .rs" ) ]
7
+ #[ cfg_attr( any ( target_os = "macos" , target_os = "ios" ) , path = "apple .rs" ) ]
8
8
mod imp;
9
9
10
10
/// Obtain the number of threads currently part of the active process. Returns `None` if the number
You can’t perform that action at this time.
0 commit comments