summaryrefslogtreecommitdiff
path: root/libbindgen/src/codegen/helpers.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-12-02 11:11:11 -0800
committerGitHub <noreply@github.com>2016-12-02 11:11:11 -0800
commitb8014b1034ac486d3169e71d58e6387f8b1d25f1 (patch)
treeaa5ac6aeb974106681a7cec128d6d331b6dff16e /libbindgen/src/codegen/helpers.rs
parent9fcaf776aca28f605193f4d072722c5fcd56cb06 (diff)
parent8091fd641b9692007bbb85d3bec37afc426b897d (diff)
Auto merge of #309 - fitzgen:use-root-relative, r=emilio
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 r? @emilio
Diffstat (limited to 'libbindgen/src/codegen/helpers.rs')
0 files changed, 0 insertions, 0 deletions