Hey @liushuyu
So rust-bindgen automatically generates Rust FFI bindings to C (and some C++) libraries. Thus, it clearly needs access to the development files (mainly C/C++ headers).
However, rust-bindgen does not seems to fit very well in any of the supported categories for classic. I wonder if access to the required files via system-files (/var/lib/snapd/hostfs/usr/include ) would be more appropriate for this requirement