mirror of
https://github.com/openharmony/third_party_rust_bindgen.git
synced 2026-07-19 11:53:29 -04:00
5d93b0145b
This is done by moving all the remaining `Builder` state into `BindgenOptions` so any internal logic that affects `Builder` state only runs once the builder is consumed by `Builder::generate`: - move `input_headers` to `BindgenOptions`. - move `input_header_contents` to `BindgenOptions`. - derive `Clone` for `Builder`.