diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 220a7e3a32..813aa07fd5 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -14,7 +14,7 @@ // Use the `--dump-preprocessed-input` flag or the // `bindgen::Builder::dump_preprocessed_input` method to make your test case // standalone and without `#include`s, and then use C-Reduce to minimize it: -// https://github.com/servo/rust-bindgen/blob/master/CONTRIBUTING.md#using-creduce-to-minimize-test-cases +// https://github.com/rust-lang-nursery/rust-bindgen/blob/master/CONTRIBUTING.md#using-creduce-to-minimize-test-cases ``` ### Bindgen Invocation diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1eb6f76bdb..1fbffe0aad 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -47,9 +47,9 @@ issue, provide us with: ## Looking to Start Contributing to `bindgen`? -* [Issues labeled "easy"](https://github.com/servo/rust-bindgen/issues?q=is%3Aopen+is%3Aissue+label%3AE-easy) -* [Issues labeled "less easy"](https://github.com/servo/rust-bindgen/issues?q=is%3Aopen+is%3Aissue+label%3AE-less-easy) -* Still can't find something to work on? [Drop a comment here](https://github.com/servo/rust-bindgen/issues/747) +* [Issues labeled "easy"](https://github.com/rust-lang-nursery/rust-bindgen/issues?q=is%3Aopen+is%3Aissue+label%3AE-easy) +* [Issues labeled "less easy"](https://github.com/rust-lang-nursery/rust-bindgen/issues?q=is%3Aopen+is%3Aissue+label%3AE-less-easy) +* Still can't find something to work on? [Drop a comment here](https://github.com/rust-lang-nursery/rust-bindgen/issues/747) ## Building diff --git a/Cargo.toml b/Cargo.toml index 4d06d7d490..91ef727992 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ categories = ["external-ffi-bindings", "development-tools::ffi"] license = "BSD-3-Clause" name = "bindgen" readme = "README.md" -repository = "https://github.com/servo/rust-bindgen" +repository = "https://github.com/rust-lang-nursery/rust-bindgen" documentation = "https://docs.rs/bindgen" version = "0.28.0" build = "build.rs" @@ -24,7 +24,7 @@ exclude = [ ] [badges] -travis-ci = { repository = "servo/rust-bindgen" } +travis-ci = { repository = "rust-lang-nursery/rust-bindgen" } [lib] path = "src/lib.rs" diff --git a/book/src/introduction.md b/book/src/introduction.md index 4c5fbd49ac..f39e0da0c7 100644 --- a/book/src/introduction.md +++ b/book/src/introduction.md @@ -1,6 +1,6 @@ # Introduction -**[`bindgen`](https://github.com/servo/rust-bindgen) automatically generates Rust +**[`bindgen`](https://github.com/rust-lang-nursery/rust-bindgen) automatically generates Rust FFI bindings to C and C++ libraries.** For example, given the C header `cool.h`: diff --git a/ci/deploy-book.sh b/ci/deploy-book.sh index ba38697ed5..8ed3ed4690 100755 --- a/ci/deploy-book.sh +++ b/ci/deploy-book.sh @@ -22,7 +22,7 @@ git init git config user.name "Travis CI" git config user.email "builds@travis-ci.org" -git remote add upstream "https://$GH_TOKEN@github.com/servo/rust-bindgen.git" +git remote add upstream "https://$GH_TOKEN@github.com/rust-lang-nursery/rust-bindgen.git" git fetch upstream git reset upstream/gh-pages diff --git a/src/codegen/mod.rs b/src/codegen/mod.rs index 78d73cd0ba..00237e5160 100644 --- a/src/codegen/mod.rs +++ b/src/codegen/mod.rs @@ -1601,7 +1601,7 @@ impl CodeGenerator for CompInfo { // is making the struct 1-byte sized. // // This is apparently not the case for C, see: - // https://github.com/servo/rust-bindgen/issues/551 + // https://github.com/rust-lang-nursery/rust-bindgen/issues/551 // // Just get the layout, and assume C++ if not. // @@ -1703,7 +1703,7 @@ impl CodeGenerator for CompInfo { ) }; - // FIXME when [issue #465](https://github.com/servo/rust-bindgen/issues/465) ready + // FIXME when [issue #465](https://github.com/rust-lang-nursery/rust-bindgen/issues/465) ready let too_many_base_vtables = self.base_members() .iter() .filter(|base| { diff --git a/src/ir/comp.rs b/src/ir/comp.rs index 0960ee1142..407d58acb1 100644 --- a/src/ir/comp.rs +++ b/src/ir/comp.rs @@ -1136,7 +1136,7 @@ impl CompInfo { // Let's just assume that if the cursor we've found is a // definition, it's a valid inner type. // - // [1]: https://github.com/servo/rust-bindgen/issues/482 + // [1]: https://github.com/rust-lang-nursery/rust-bindgen/issues/482 let is_inner_struct = cur.semantic_parent() == cursor || cur.is_definition(); if !is_inner_struct { diff --git a/src/ir/function.rs b/src/ir/function.rs index 663bb8e3be..fbb6121e9e 100644 --- a/src/ir/function.rs +++ b/src/ir/function.rs @@ -193,7 +193,7 @@ pub fn cursor_mangling(ctx: &BindgenContext, // We early return here because libclang may crash in some case // if we pass in a variable inside a partial specialized template. - // See servo/rust-bindgen#67, and servo/rust-bindgen#462. + // See rust-lang-nursery/rust-bindgen#67, and rust-lang-nursery/rust-bindgen#462. if cursor.is_in_non_fully_specialized_template() { return None; } @@ -474,7 +474,7 @@ impl Trace for FunctionSig { // Function pointers follow special rules, see: // -// https://github.com/servo/rust-bindgen/issues/547, +// https://github.com/rust-lang-nursery/rust-bindgen/issues/547, // https://github.com/rust-lang/rust/issues/38848, // and https://github.com/rust-lang/rust/issues/40158 // diff --git a/src/lib.rs b/src/lib.rs index 700ca7e9c9..4eeb95f43c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -484,7 +484,7 @@ impl Builder { /// implement some processing on comments to work around issues as described /// in: /// - /// https://github.com/servo/rust-bindgen/issues/426 + /// https://github.com/rust-lang-nursery/rust-bindgen/issues/426 pub fn generate_comments(mut self, doit: bool) -> Self { self.options.generate_comments = doit; self @@ -513,7 +513,7 @@ impl Builder { /// However, some old libclang versions seem to return incorrect results in /// some cases for non-mangled functions, see [1], so we allow disabling it. /// - /// [1]: https://github.com/servo/rust-bindgen/issues/528 + /// [1]: https://github.com/rust-lang-nursery/rust-bindgen/issues/528 pub fn trust_clang_mangling(mut self, doit: bool) -> Self { self.options.enable_mangling = doit; self @@ -1038,7 +1038,7 @@ pub struct BindgenOptions { /// However, some old libclang versions seem to return incorrect results in /// some cases for non-mangled functions, see [1], so we allow disabling it. /// - /// [1]: https://github.com/servo/rust-bindgen/issues/528 + /// [1]: https://github.com/rust-lang-nursery/rust-bindgen/issues/528 pub enable_mangling: bool, /// Whether to prepend the enum name to bitfield or constant variants. diff --git a/src/main.rs b/src/main.rs index f202cc18bb..9cd4f8067e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -80,9 +80,9 @@ pub fn main() { fn print_verbose_err() { println!("Bindgen unexpectedly panicked"); println!("This may be caused by one of the known-unsupported \ - things (https://github.com/servo/rust-bindgen#c), \ + things (https://github.com/rust-lang-nursery/rust-bindgen#c), \ please modify the bindgen flags to work around it as \ - described in https://github.com/servo/rust-bindgen#c"); + described in https://github.com/rust-lang-nursery/rust-bindgen#c"); println!("Otherwise, please file an issue at \ - https://github.com/servo/rust-bindgen/issues/new"); + https://github.com/rust-lang-nursery/rust-bindgen/issues/new"); } diff --git a/src/options.rs b/src/options.rs index bf479ca5ed..23df637078 100644 --- a/src/options.rs +++ b/src/options.rs @@ -65,7 +65,7 @@ pub fn builder_from_flags Arg::with_name("no-doc-comments") .long("no-doc-comments") .help("Avoid including doc comments in the output, see: \ - https://github.com/servo/rust-bindgen/issues/426"), + https://github.com/rust-lang-nursery/rust-bindgen/issues/426"), Arg::with_name("no-recursive-whitelist") .long("no-recursive-whitelist") .help("Avoid whitelisting types recursively."), diff --git a/tests/headers/call-conv-field.h b/tests/headers/call-conv-field.h index 3488cd5b62..00ebd09415 100644 --- a/tests/headers/call-conv-field.h +++ b/tests/headers/call-conv-field.h @@ -5,7 +5,7 @@ // The linux-only thing is a hack around our lack of understanding when // bindgen's target_os != the bindings' target_os :( // -// https://github.com/servo/rust-bindgen/issues/593 +// https://github.com/rust-lang-nursery/rust-bindgen/issues/593 struct JNINativeInterface_ { int (__stdcall *GetVersion)(void *env);