---
title: "libbpf-sys 2.0.0+v1.8.0 Breaking Changes on crates.io"
description: "What each libbpf-sys release removed, renamed or changed: 152 breaking changes in 1 version on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/libbpf-sys
last_updated: 2026-12-04
---

# libbpf-sys breaking changes

libbpf-sys 2.0.0+v1.8.0 (November 20, 2026) is its newest release with breaking changes, 152 of them. The first: Removed libbpf_sys::bpf_attr\_\_bindgen_ty_10::\_bitfield_1. Every breaking API change we have recorded in libbpf-sys on crates.io: 152 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.0.0+v1.8.0`, released November 20, 2026. [Source repository](https://github.com/libbpf/libbpf-sys)

Packages on crates.io run on Rust. [Rust end of life dates](https://since.dev/calendar/rust.md).

## libbpf-sys 2.0.0+v1.8.0 breaking changes

libbpf-sys 2.0.0+v1.8.0, released November 20, 2026: 152 breaking changes.

- **Removed** `libbpf_sys::bpf_attr__bindgen_ty_10::_bitfield_1`  

libbpf_sys::bpf_attr\_\_bindgen_ty_10::\_bitfield_1 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::bpf_attr__bindgen_ty_10::_bitfield_align_1`  

libbpf_sys::bpf_attr\_\_bindgen_ty_10::\_bitfield_align_1 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::bpf_attr__bindgen_ty_10::new_bitfield_1`  

libbpf_sys::bpf_attr\_\_bindgen_ty_10::new_bitfield_1 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::bpf_attr__bindgen_ty_11::_bitfield_align_1`  

libbpf_sys::bpf_attr\_\_bindgen_ty_11::\_bitfield_align_1 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::bpf_attr__bindgen_ty_14__bindgen_ty_3__bindgen_ty_7::__bindgen_padding_0`  

libbpf_sys::bpf_attr\_\_bindgen_ty_14\_\_bindgen_ty_3\_\_bindgen_ty_7::\_\_bindgen_padding_0 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::bpf_insn_array_value::_bitfield_align_1`  

libbpf_sys::bpf_insn_array_value::\_bitfield_align_1 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::bpf_insn::_bitfield_align_1`  

libbpf_sys::bpf_insn::\_bitfield_align_1 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::bpf_link_create_opts__bindgen_ty_1__bindgen_ty_3::__bindgen_padding_0`  

libbpf_sys::bpf_link_create_opts\_\_bindgen_ty_1\_\_bindgen_ty_3::\_\_bindgen_padding_0 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::bpf_link_info__bindgen_ty_1__bindgen_ty_1::_bitfield_align_1`  

libbpf_sys::bpf_link_info\_\_bindgen_ty_1\_\_bindgen_ty_1::\_bitfield_align_1 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::bpf_link_info__bindgen_ty_1__bindgen_ty_11__bindgen_ty_1__bindgen_ty_1`  

libbpf_sys::bpf_link_info\_\_bindgen_ty_1\_\_bindgen_ty_11\_\_bindgen_ty_1\_\_bindgen_ty_1 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::bpf_link_info__bindgen_ty_1__bindgen_ty_11__bindgen_ty_1__bindgen_ty_2`  

libbpf_sys::bpf_link_info\_\_bindgen_ty_1\_\_bindgen_ty_11\_\_bindgen_ty_1\_\_bindgen_ty_2 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::bpf_link_info__bindgen_ty_1__bindgen_ty_11__bindgen_ty_1__bindgen_ty_3`  

libbpf_sys::bpf_link_info\_\_bindgen_ty_1\_\_bindgen_ty_11\_\_bindgen_ty_1\_\_bindgen_ty_3 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::bpf_link_info__bindgen_ty_1__bindgen_ty_11__bindgen_ty_1__bindgen_ty_4`  

libbpf_sys::bpf_link_info\_\_bindgen_ty_1\_\_bindgen_ty_11\_\_bindgen_ty_1\_\_bindgen_ty_4 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::bpf_link_info__bindgen_ty_1__bindgen_ty_11::__bindgen_anon_1`  

libbpf_sys::bpf_link_info\_\_bindgen_ty_1\_\_bindgen_ty_11::\_\_bindgen_anon_1 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::bpf_link_info__bindgen_ty_1__bindgen_ty_11::_bitfield_align_1`  

libbpf_sys::bpf_link_info\_\_bindgen_ty_1\_\_bindgen_ty_11::\_bitfield_align_1 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::bpf_link_info__bindgen_ty_1__bindgen_ty_11::type_`  

libbpf_sys::bpf_link_info\_\_bindgen_ty_1\_\_bindgen_ty_11::type\_ was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::bpf_link_info__bindgen_ty_1__bindgen_ty_12::attach_type`  

libbpf_sys::bpf_link_info\_\_bindgen_ty_1\_\_bindgen_ty_12::attach_type was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::bpf_link_info__bindgen_ty_1__bindgen_ty_12::ifindex`  

libbpf_sys::bpf_link_info\_\_bindgen_ty_1\_\_bindgen_ty_12::ifindex was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::bpf_link_info__bindgen_ty_1__bindgen_ty_14::map_id`  

libbpf_sys::bpf_link_info\_\_bindgen_ty_1\_\_bindgen_ty_14::map_id was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::bpf_link_info__bindgen_ty_1__bindgen_ty_2::_bitfield_align_1`  

libbpf_sys::bpf_link_info\_\_bindgen_ty_1\_\_bindgen_ty_2::\_bitfield_align_1 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::bpf_map_info::__bindgen_padding_0`  

libbpf_sys::bpf_map_info::\_\_bindgen_padding_0 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::bpf_object_open_opts::_bitfield_align_1`  

libbpf_sys::bpf_object_open_opts::\_bitfield_align_1 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::bpf_prog_info::__bindgen_padding_0`  

libbpf_sys::bpf_prog_info::\_\_bindgen_padding_0 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::bpf_prog_info::_bitfield_align_1`  

libbpf_sys::bpf_prog_info::\_bitfield_align_1 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::bpf_sk_lookup__bindgen_ty_1__bindgen_ty_1::_bitfield_align_1`  

libbpf_sys::bpf_sk_lookup\_\_bindgen_ty_1\_\_bindgen_ty_1::\_bitfield_align_1 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::bpf_sk_lookup::_bitfield_align_1`  

libbpf_sys::bpf_sk_lookup::\_bitfield_align_1 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::bpf_sock_addr__bindgen_ty_1::_bitfield_align_1`  

libbpf_sys::bpf_sock_addr\_\_bindgen_ty_1::\_bitfield_align_1 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::bpf_sock_ops__bindgen_ty_2::_bitfield_align_1`  

libbpf_sys::bpf_sock_ops\_\_bindgen_ty_2::\_bitfield_align_1 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::bpf_sock_ops__bindgen_ty_3::_bitfield_align_1`  

libbpf_sys::bpf_sock_ops\_\_bindgen_ty_3::\_bitfield_align_1 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::bpf_sock_ops__bindgen_ty_4::_bitfield_align_1`  

libbpf_sys::bpf_sock_ops\_\_bindgen_ty_4::\_bitfield_align_1 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::bpf_sock::_bitfield_align_1`  

libbpf_sys::bpf_sock::\_bitfield_align_1 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::bpf_sockopt__bindgen_ty_1::_bitfield_align_1`  

libbpf_sys::bpf_sockopt\_\_bindgen_ty_1::\_bitfield_align_1 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::bpf_sockopt__bindgen_ty_2::_bitfield_align_1`  

libbpf_sys::bpf_sockopt\_\_bindgen_ty_2::\_bitfield_align_1 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::bpf_sockopt__bindgen_ty_3::_bitfield_align_1`  

libbpf_sys::bpf_sockopt\_\_bindgen_ty_3::\_bitfield_align_1 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::perf_branch_entry::_bitfield_align_1`  

libbpf_sys::perf_branch_entry::\_bitfield_align_1 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::perf_event_attr__bindgen_ty_5__bindgen_ty_1::_bitfield_align_1`  

libbpf_sys::perf_event_attr\_\_bindgen_ty_5\_\_bindgen_ty_1::\_bitfield_align_1 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::perf_event_attr::_bitfield_align_1`  

libbpf_sys::perf_event_attr::\_bitfield_align_1 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1::_bitfield_align_1`  

libbpf_sys::perf_event_mmap_page\_\_bindgen_ty_1\_\_bindgen_ty_1::\_bitfield_align_1 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::perf_mem_data_src__bindgen_ty_1::_bitfield_align_1`  

libbpf_sys::perf_mem_data_src\_\_bindgen_ty_1::\_bitfield_align_1 was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Removed** `libbpf_sys::size_t`  

libbpf_sys::size_t was removed in libbpf-sys 2.0.0+v1.8.0 [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Renamed** `libbpf_sys::bpf_link_info__bindgen_ty_1__bindgen_ty_11__bindgen_ty_1`  

Use libbpf_sys::bpf_link_info\_\_bindgen_ty_1\_\_bindgen_ty_12\_\_bindgen_ty_1 instead. [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Signature changed** `libbpf_sys::_bindgen_ty_75`  

Was type \_bindgen_ty_75 = ::std::os::raw::c_ulong; now type \_bindgen_ty_75 = ::std::os::raw::c_uint. [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Signature changed** `libbpf_sys::_bindgen_ty_76`  

Was type \_bindgen_ty_76 = ::std::os::raw::c_int; now type \_bindgen_ty_76 = ::std::os::raw::c_ulong. [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Signature changed** `libbpf_sys::_bindgen_ty_77`  

Was type \_bindgen_ty_77 = ::std::os::raw::c_uint; now type \_bindgen_ty_77 = ::std::os::raw::c_int. [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Signature changed** `libbpf_sys::API_HEADERS`  

Was const API_HEADERS: \[(&str, &str); 10\]; now const API_HEADERS: &\[(&str, &str)\]. [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Signature changed** `libbpf_sys::bpf_btf_load_opts::sz`  

Was sz: size_t; now sz: usize. [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Signature changed** `libbpf_sys::bpf_cgroup_opts::sz`  

Was sz: size_t; now sz: usize. [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Signature changed** `libbpf_sys::BPF_CSUM_LEVEL_DEC`  

Was const BPF_CSUM_LEVEL_DEC: \_bindgen_ty_77; now const BPF_CSUM_LEVEL_DEC: \_bindgen_ty_78. [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Signature changed** `libbpf_sys::BPF_CSUM_LEVEL_INC`  

Was const BPF_CSUM_LEVEL_INC: \_bindgen_ty_77; now const BPF_CSUM_LEVEL_INC: \_bindgen_ty_78. [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)
- **Signature changed** `libbpf_sys::BPF_CSUM_LEVEL_QUERY`  

Was const BPF_CSUM_LEVEL_QUERY: \_bindgen_ty_77; now const BPF_CSUM_LEVEL_QUERY: \_bindgen_ty_78. [crates.io](https://crates.io/crates/libbpf-sys/2.0.0%2Bv1.8.0)

And 102 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
