rust-bindgen icon indicating copy to clipboard operation
rust-bindgen copied to clipboard

fix : make sure at least one header was provided

Open mtb0x1 opened this issue 1 month ago • 0 comments

This PR fixes #3320 :

  • Makes sure at least one header is provided : file or content
  • Add a test case

A better approach would be to qualify this case as BindgenError and return it, instead of asserting. let me know if this need to be done.

mtb0x1 avatar Nov 18 '25 14:11 mtb0x1