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 2727jobs :
2828 check :
2929 name : Type checking (${{ matrix.target.name }})
30- runs-on : ubuntu-latest
30+ runs-on : ${{ matrix.target.host }}
3131 if : ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork) || github.event_name == 'push' }}
3232 strategy :
3333 matrix :
@@ -36,10 +36,19 @@ jobs:
3636 # triple: x86_64-pc-windows-gnu
3737 - name : Linux
3838 triple : x86_64-unknown-linux-gnu
39+ host : ubuntu-latest
40+ - name : Android
41+ triple : aarch64-linux-android
42+ host : ubuntu-latest
3943 - name : macOS
4044 triple : x86_64-apple-darwin
45+ host : macos-latest
46+ - name : iOS
47+ triple : aarch64-apple-ios
48+ host : macos-latest
4149 - name : FreeBSD
4250 triple : x86_64-unknown-freebsd
51+ host : ubuntu-latest
4352
4453 steps :
4554 - 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+
15# 0.1.4
26
37- 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"]
1414
1515[dependencies ]
1616
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 ]
1818libc = " 0.2.107"
File renamed without changes.
Original file line number Diff line number Diff line change 22
33use 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" ) ]
7- #[ cfg_attr( target_os = "macos" , path = "macos .rs" ) ]
7+ #[ cfg_attr( any ( target_os = "macos" , target_os = "ios" ) , path = "apple .rs" ) ]
88mod imp;
99
1010/// 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