Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to generate bindings ("Unable to get layout information?") #2990

Open
johnrichardrinehart opened this issue Nov 24, 2024 · 0 comments

Comments

@johnrichardrinehart
Copy link

johnrichardrinehart commented Nov 24, 2024

This seems like it might be related to #1768. I'm working to generate bindings for this file. But, I'm hitting a wall. I've proven that a simple case works, so this seems related to something potentially deep in the include-tree so I'm kind of scared to dig into this.

I've attached my build logs running my code against both of:

  1. rust-bindgen 0.70.1 (upstream)
  2. my fork of rust-bindgen which includes @Danielmelody's patch to try to resolve this issue. That seemed to get me farther, but it still broke.

build.upstream.txt
build.danielmelody.txt

If you have nix then you should be able to reproduce (executed on x86_64-linux) using

  1. nix build -L 'github:johnrichardrinehart/f-u?rev=c3e82b4a470b0cefff91a2ac6fd22015603d020f' (upstream)
  2. nix build -L 'github:johnrichardrinehart/f-u?rev=fb8f0e7aa0972c6c2ebce1ed2b4ac74779814d1d' (@Danielmelody's patch)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant