Skip to content

Commit 6827451

Browse files
committed
bump versions and add changelog entry
1 parent 1b29df1 commit 6827451

File tree

4 files changed

+20
-4
lines changed

4 files changed

+20
-4
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
### 0.2.0 (2020-04-10)
2+
3+
- Removed the compile-time Linux version check, and replaced it with a Cargo feature.
4+
5+
The Linux version check was overly restrictive, even on systems that did have the right kernel
6+
version installed but had older headers in `/usr/include/linux`. Beyond that, this check made it
7+
more difficult to compile on a different host than what's targeted.
8+
9+
There is now a `linux4_14` feature flag on `userfaultfd-sys`, which turns on and tests the extra
10+
constants available in that version. Since `userfaultfd` did not make use of any of those newer
11+
features, it doesn't have a feature flag yet.
12+
13+
Applications should take care when initializing with `UffdBuilder` to specify the features and
14+
ioctls they require, so that an unsupported version will be detected at runtime.
15+
16+
117
### 0.1.0 (2020-04-07)
218

319
- Initial public release of userfaultfd-rs.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "userfaultfd"
3-
version = "0.1.1-dev"
3+
version = "0.2.0"
44
authors = ["Adam C. Foltzer <[email protected]>"]
55
edition = "2018"
66
license = "MIT OR Apache-2.0"
@@ -13,4 +13,4 @@ bitflags = "1.0"
1313
libc = "0.2.65"
1414
nix = "0.17"
1515
thiserror = "1.0.4"
16-
userfaultfd-sys = { path = "userfaultfd-sys", version = "0.1.1-dev" }
16+
userfaultfd-sys = { path = "userfaultfd-sys", version = "0.2.0" }

linux-version/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "linux-version"
3-
version = "0.1.1-dev"
3+
version = "0.1.1"
44
authors = ["Adam C. Foltzer <[email protected]>"]
55
edition = "2018"
66
license = "MIT OR Apache-2.0"

userfaultfd-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "userfaultfd-sys"
3-
version = "0.1.1-dev"
3+
version = "0.2.0"
44
authors = ["Adam C. Foltzer <[email protected]>"]
55
edition = "2018"
66
license = "MIT OR Apache-2.0"

0 commit comments

Comments
 (0)