diff options
author | Nick Fitzgerald <fitzgen@gmail.com> | 2017-07-25 17:38:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-25 17:38:27 -0700 |
commit | e099037cda4b404dea3e7ad18554858416b038c8 (patch) | |
tree | 2b2e3ea46a24b3505d79cb5bd7c63116e5859abe | |
parent | 69075f48c9b7c1ebf52ff4bec098dd15be162a78 (diff) | |
parent | 1baf7dc1c86d6b4a3ebe8ffab5efbc8fa3d4be32 (diff) |
Merge pull request #853 from fitzgen/rust-lang-nursery
s/servo/rust-lang-nursery/ \o/
-rw-r--r-- | .github/ISSUE_TEMPLATE.md | 2 | ||||
-rw-r--r-- | CONTRIBUTING.md | 6 | ||||
-rw-r--r-- | Cargo.toml | 4 | ||||
-rw-r--r-- | book/src/introduction.md | 2 | ||||
-rwxr-xr-x | ci/deploy-book.sh | 2 | ||||
-rw-r--r-- | src/codegen/mod.rs | 4 | ||||
-rw-r--r-- | src/ir/comp.rs | 2 | ||||
-rw-r--r-- | src/ir/function.rs | 4 | ||||
-rw-r--r-- | src/lib.rs | 6 | ||||
-rw-r--r-- | src/main.rs | 6 | ||||
-rw-r--r-- | src/options.rs | 2 | ||||
-rw-r--r-- | tests/headers/call-conv-field.h | 2 |
12 files changed, 21 insertions, 21 deletions
diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 220a7e3a..813aa07f 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 1eb6f76b..1fbffe0a 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 @@ -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 4c5fbd49..f39e0da0 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 ba38697e..8ed3ed46 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 1c87d14f..05e16a5b 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 327711fe..d6644466 100644 --- a/src/ir/comp.rs +++ b/src/ir/comp.rs @@ -1133,7 +1133,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 663bb8e3..fbb6121e 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 // @@ -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 f202cc18..9cd4f806 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 bf479ca5..23df6370 100644 --- a/src/options.rs +++ b/src/options.rs @@ -65,7 +65,7 @@ pub fn builder_from_flags<I> 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 3488cd5b..00ebd094 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); |