This makes rust-bindgen not generate a bunch of methods that were not used, including `const fn` ones. This helps with #11815 since `const fn` is unstable.