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
Since a2fed13, when the bindgen
feature is enabled, the build script writes the bindings to
OUT_DIR/sys_<arch>.rs (or src/sys/sys_<arch>.rs when the overwrite
feature is enabled). However, the src/sys/mod.rs file still imports the
file from OUT_DIR/sys.rs (without the architecture in the file name).
OUT_DIR already depends on the architecture, so there is no need to
include the architecture in the file name.
Modify the build script to write the file to OUT_DIR/sys.rs so that it
can be included by src/sys/mod.rs.
0 commit comments