You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and both of these have sys crates generated by bindgen, there should be a way to get b_sys to use the Foo from a_sys. We can almost do this by putting the following into the build.rs of b_sys:
builder.raw_line("use a_sys::*");
but this produces:
use a_sys::*;pubmod root {
...
fnbar() -> root::Foo{ ...}}
That is the raw_line is outside the root crate, not inside it. If we could put raw lines inside the root, this would be pretty easy.
The text was updated successfully, but these errors were encountered:
If there are two libraries
a.h
:and
b.h
:and both of these have
sys
crates generated by bindgen, there should be a way to getb_sys
to use theFoo
froma_sys
. We can almost do this by putting the following into thebuild.rs
ofb_sys
:but this produces:
That is the
raw_line
is outside the root crate, not inside it. If we could put raw lines inside the root, this would be pretty easy.The text was updated successfully, but these errors were encountered: