Skip to content

Commit

Permalink
add feature linux-4.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Thaumy committed Jan 31, 2024
1 parent b08231c commit 910738f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ build = "build/main.rs"
"linux-4.17" = ["linux-4.16"]
"linux-4.16" = ["linux-4.14"]
"linux-4.14" = ["linux-4.12"]
"linux-4.12" = ["linux-4.8"]
"linux-4.12" = ["linux-4.10"]
"linux-4.10" = ["linux-4.8"]
"linux-4.8" = ["linux-4.7"]
"linux-4.7" = ["linux-4.4"]
"linux-4.4" = ["linux-4.3"]
Expand Down
3 changes: 2 additions & 1 deletion build/consts.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// [(major, patch_level, is_selected)]
#[rustfmt::skip]
pub const LINUX_FEATURE_VERSIONS: [(usize, usize, bool); 26] = [
pub const LINUX_FEATURE_VERSIONS: [(usize, usize, bool); 27] = [
(6, 3, cfg!(feature = "linux-6.3" )),
(6, 0, cfg!(feature = "linux-6.0" )),
(5,16, cfg!(feature = "linux-5.16")),
Expand All @@ -17,6 +17,7 @@ pub const LINUX_FEATURE_VERSIONS: [(usize, usize, bool); 26] = [
(4,16, cfg!(feature = "linux-4.16")),
(4,14, cfg!(feature = "linux-4.14")),
(4,12, cfg!(feature = "linux-4.12")),
(4,10, cfg!(feature = "linux-4.10")),
(4, 8, cfg!(feature = "linux-4.8" )),
(4, 7, cfg!(feature = "linux-4.7" )),
(4, 4, cfg!(feature = "linux-4.4" )),
Expand Down

0 comments on commit 910738f

Please sign in to comment.