Skip to content

Commit

Permalink
Add btrfs headers (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyuannie authored Sep 23, 2024
1 parent bee883b commit 91357b1
Show file tree
Hide file tree
Showing 22 changed files with 32,415 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ static_assertions = "1.1.0"
libc = "0.2.100"

[package.metadata.docs.rs]
features = ["default", "bootparam", "ioctl", "netlink", "io_uring", "if_arp", "if_ether", "if_packet", "net", "prctl", "elf", "xdp", "mempolicy", "system", "loop_device"]
features = ["default", "bootparam", "btrfs", "ioctl", "netlink", "io_uring", "if_arp", "if_ether", "if_packet", "net", "prctl", "elf", "xdp", "mempolicy", "system", "loop_device"]
targets = ["x86_64-unknown-linux-gnu", "i686-unknown-linux-gnu"]

[lints.rust.unexpected_cfgs]
Expand All @@ -33,6 +33,7 @@ check-cfg = [
# The rest of this file is auto-generated!
[features]
bootparam = []
btrfs = []
errno = []
general = []
if_arp = []
Expand Down
1 change: 1 addition & 0 deletions gen/include/stddef.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#define offsetof(t, d) __builtin_offsetof(t, d)
2 changes: 2 additions & 0 deletions gen/modules/btrfs.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#include <linux/btrfs.h>
#include <linux/btrfs_tree.h>
Loading

0 comments on commit 91357b1

Please sign in to comment.