Exploring New Rust Pre-RFCs: Trait Method Exclusion and BTF Relocations
Two new pre-RFCs are under discussion in the Rust community. The first proposes allowing exclusion of trait methods for unsatisfiable where bounds, which could simplify trait implementations. The second introduces BTF relocations, adding a #[btf_preserve_access] attribute for aggregate types, aimed at improving compatibility with BPF targets. These discussions could lead to significant changes in how Rust handles trait bounds and type layouts, affecting future Rust projects targeting specific platforms.