diff options
author | Nick Fitzgerald <fitzgen@gmail.com> | 2016-12-01 13:16:16 -0800 |
---|---|---|
committer | Nick Fitzgerald <fitzgen@gmail.com> | 2016-12-02 11:10:40 -0800 |
commit | 8091fd641b9692007bbb85d3bec37afc426b897d (patch) | |
tree | 439dc983b9d3b55b1eebe33fba01a26fbe75b67b /libbindgen/src/codegen/helpers.rs | |
parent | d45db65fecfb973c10b4a1519571eeda50cb625b (diff) |
Use the generated root module via a relative path
We previously generated uses of the root module with absolute paths:
use root;
However this only works if the generated bindings are the root of the
crate. If they were in some submodule then that path would not be
valid. They are now generated relative to the current module, like this:
use self::super::super::root;
Fixes #96
Diffstat (limited to 'libbindgen/src/codegen/helpers.rs')
0 files changed, 0 insertions, 0 deletions