summaryrefslogtreecommitdiffstats
path: root/vendor/num_cpus/CHANGELOG.md
blob: 5496ace253f574410b5fec16605bf0f4d292838e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
## v1.13.1

### Fixes

- fix parsing zero or multiple optional fields in cgroup mountinfo.

## v1.13.0

### Features

- add Linux cgroups support when calling `get()`.

## v1.12.0

#### Fixes

- fix `get` on OpenBSD to ignore offline CPUs
- implement `get_physical` on OpenBSD

## v1.11.1

#### Fixes

- Use `mem::zeroed` instead of `mem::uninitialized`.

## v1.11.0

#### Features

- add `hermit` target OS support
- removes `bitrig` support

#### Fixes

- fix `get_physical` count with AMD hyperthreading.

## v1.10.1

#### Fixes

- improve `haiku` CPU detection

## v1.10.0

#### Features

- add `illumos` target OS support
- add default fallback if target is unknown to `1`

## v1.9.0

#### Features

- add `sgx` target env support

## v1.8.0

#### Features

- add `wasm-unknown-unknown` target support

## v1.7.0

#### Features

- add `get_physical` support for macOS

#### Fixes

- use `_SC_NPROCESSORS_CONF` on Unix targets

### v1.6.2

#### Fixes

- revert 1.6.1 for now

### v1.6.1

#### Fixes

- fixes sometimes incorrect num on Android/ARM Linux (#45)

## v1.6.0

#### Features

- `get_physical` gains Windows support

### v1.5.1

#### Fixes

- fix `get` to return 1 if `sysconf(_SC_NPROCESSORS_ONLN)` failed

## v1.5.0

#### Features

- `get()` now checks `sched_affinity` on Linux

## v1.4.0

#### Features

- add `haiku` target support

## v1.3.0

#### Features

- add `redox` target support

### v1.2.1

#### Fixes

- fixes `get_physical` count (454ff1b)

## v1.2.0

#### Features

- add `emscripten` target support
- add `fuchsia` target support

## v1.1.0

#### Features

- added `get_physical` function to return number of physical CPUs found

# v1.0.0

#### Features

- `get` function returns number of CPUs (physical and virtual) of current platform