Skip to content

Commit e099037

Browse files
authored
Merge pull request #853 from fitzgen/rust-lang-nursery
s/servo/rust-lang-nursery/ \o/
2 parents 69075f4 + 1baf7dc commit e099037

File tree

12 files changed

+21
-21
lines changed

12 files changed

+21
-21
lines changed

.github/ISSUE_TEMPLATE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// Use the `--dump-preprocessed-input` flag or the
1515
// `bindgen::Builder::dump_preprocessed_input` method to make your test case
1616
// standalone and without `#include`s, and then use C-Reduce to minimize it:
17-
// https://github.com/servo/rust-bindgen/blob/master/CONTRIBUTING.md#using-creduce-to-minimize-test-cases
17+
// https://github.com/rust-lang-nursery/rust-bindgen/blob/master/CONTRIBUTING.md#using-creduce-to-minimize-test-cases
1818
```
1919

2020
### Bindgen Invocation

CONTRIBUTING.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ issue, provide us with:
4747

4848
## Looking to Start Contributing to `bindgen`?
4949

50-
* [Issues labeled "easy"](https://github.com/servo/rust-bindgen/issues?q=is%3Aopen+is%3Aissue+label%3AE-easy)
51-
* [Issues labeled "less easy"](https://github.com/servo/rust-bindgen/issues?q=is%3Aopen+is%3Aissue+label%3AE-less-easy)
52-
* Still can't find something to work on? [Drop a comment here](https://github.com/servo/rust-bindgen/issues/747)
50+
* [Issues labeled "easy"](https://github.com/rust-lang-nursery/rust-bindgen/issues?q=is%3Aopen+is%3Aissue+label%3AE-easy)
51+
* [Issues labeled "less easy"](https://github.com/rust-lang-nursery/rust-bindgen/issues?q=is%3Aopen+is%3Aissue+label%3AE-less-easy)
52+
* Still can't find something to work on? [Drop a comment here](https://github.com/rust-lang-nursery/rust-bindgen/issues/747)
5353

5454
## Building
5555

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ categories = ["external-ffi-bindings", "development-tools::ffi"]
1111
license = "BSD-3-Clause"
1212
name = "bindgen"
1313
readme = "README.md"
14-
repository = "https://github.com/servo/rust-bindgen"
14+
repository = "https://github.com/rust-lang-nursery/rust-bindgen"
1515
documentation = "https://docs.rs/bindgen"
1616
version = "0.28.0"
1717
build = "build.rs"
@@ -24,7 +24,7 @@ exclude = [
2424
]
2525

2626
[badges]
27-
travis-ci = { repository = "servo/rust-bindgen" }
27+
travis-ci = { repository = "rust-lang-nursery/rust-bindgen" }
2828

2929
[lib]
3030
path = "src/lib.rs"

book/src/introduction.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Introduction
22

3-
**[`bindgen`](https://github.com/servo/rust-bindgen) automatically generates Rust
3+
**[`bindgen`](https://github.com/rust-lang-nursery/rust-bindgen) automatically generates Rust
44
FFI bindings to C and C++ libraries.**
55

66
For example, given the C header `cool.h`:

ci/deploy-book.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ git init
2222
git config user.name "Travis CI"
2323
git config user.email "[email protected]"
2424

25-
git remote add upstream "https://$GH_TOKEN@github.com/servo/rust-bindgen.git"
25+
git remote add upstream "https://$GH_TOKEN@github.com/rust-lang-nursery/rust-bindgen.git"
2626
git fetch upstream
2727
git reset upstream/gh-pages
2828

src/codegen/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1601,7 +1601,7 @@ impl CodeGenerator for CompInfo {
16011601
// is making the struct 1-byte sized.
16021602
//
16031603
// This is apparently not the case for C, see:
1604-
// https://github.com/servo/rust-bindgen/issues/551
1604+
// https://github.com/rust-lang-nursery/rust-bindgen/issues/551
16051605
//
16061606
// Just get the layout, and assume C++ if not.
16071607
//
@@ -1703,7 +1703,7 @@ impl CodeGenerator for CompInfo {
17031703
)
17041704
};
17051705

1706-
// FIXME when [issue #465](https://github.com/servo/rust-bindgen/issues/465) ready
1706+
// FIXME when [issue #465](https://github.com/rust-lang-nursery/rust-bindgen/issues/465) ready
17071707
let too_many_base_vtables = self.base_members()
17081708
.iter()
17091709
.filter(|base| {

src/ir/comp.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1133,7 +1133,7 @@ impl CompInfo {
11331133
// Let's just assume that if the cursor we've found is a
11341134
// definition, it's a valid inner type.
11351135
//
1136-
// [1]: https://github.com/servo/rust-bindgen/issues/482
1136+
// [1]: https://github.com/rust-lang-nursery/rust-bindgen/issues/482
11371137
let is_inner_struct = cur.semantic_parent() == cursor ||
11381138
cur.is_definition();
11391139
if !is_inner_struct {

src/ir/function.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ pub fn cursor_mangling(ctx: &BindgenContext,
193193

194194
// We early return here because libclang may crash in some case
195195
// if we pass in a variable inside a partial specialized template.
196-
// See servo/rust-bindgen#67, and servo/rust-bindgen#462.
196+
// See rust-lang-nursery/rust-bindgen#67, and rust-lang-nursery/rust-bindgen#462.
197197
if cursor.is_in_non_fully_specialized_template() {
198198
return None;
199199
}
@@ -474,7 +474,7 @@ impl Trace for FunctionSig {
474474

475475
// Function pointers follow special rules, see:
476476
//
477-
// https://github.com/servo/rust-bindgen/issues/547,
477+
// https://github.com/rust-lang-nursery/rust-bindgen/issues/547,
478478
// https://github.com/rust-lang/rust/issues/38848,
479479
// and https://github.com/rust-lang/rust/issues/40158
480480
//

src/lib.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ impl Builder {
484484
/// implement some processing on comments to work around issues as described
485485
/// in:
486486
///
487-
/// https://github.com/servo/rust-bindgen/issues/426
487+
/// https://github.com/rust-lang-nursery/rust-bindgen/issues/426
488488
pub fn generate_comments(mut self, doit: bool) -> Self {
489489
self.options.generate_comments = doit;
490490
self
@@ -513,7 +513,7 @@ impl Builder {
513513
/// However, some old libclang versions seem to return incorrect results in
514514
/// some cases for non-mangled functions, see [1], so we allow disabling it.
515515
///
516-
/// [1]: https://github.com/servo/rust-bindgen/issues/528
516+
/// [1]: https://github.com/rust-lang-nursery/rust-bindgen/issues/528
517517
pub fn trust_clang_mangling(mut self, doit: bool) -> Self {
518518
self.options.enable_mangling = doit;
519519
self
@@ -1038,7 +1038,7 @@ pub struct BindgenOptions {
10381038
/// However, some old libclang versions seem to return incorrect results in
10391039
/// some cases for non-mangled functions, see [1], so we allow disabling it.
10401040
///
1041-
/// [1]: https://github.com/servo/rust-bindgen/issues/528
1041+
/// [1]: https://github.com/rust-lang-nursery/rust-bindgen/issues/528
10421042
pub enable_mangling: bool,
10431043

10441044
/// Whether to prepend the enum name to bitfield or constant variants.

src/main.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ pub fn main() {
8080
fn print_verbose_err() {
8181
println!("Bindgen unexpectedly panicked");
8282
println!("This may be caused by one of the known-unsupported \
83-
things (https://github.com/servo/rust-bindgen#c), \
83+
things (https://github.com/rust-lang-nursery/rust-bindgen#c), \
8484
please modify the bindgen flags to work around it as \
85-
described in https://github.com/servo/rust-bindgen#c");
85+
described in https://github.com/rust-lang-nursery/rust-bindgen#c");
8686
println!("Otherwise, please file an issue at \
87-
https://github.com/servo/rust-bindgen/issues/new");
87+
https://github.com/rust-lang-nursery/rust-bindgen/issues/new");
8888
}

src/options.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ pub fn builder_from_flags<I>
6565
Arg::with_name("no-doc-comments")
6666
.long("no-doc-comments")
6767
.help("Avoid including doc comments in the output, see: \
68-
https://github.com/servo/rust-bindgen/issues/426"),
68+
https://github.com/rust-lang-nursery/rust-bindgen/issues/426"),
6969
Arg::with_name("no-recursive-whitelist")
7070
.long("no-recursive-whitelist")
7171
.help("Avoid whitelisting types recursively."),

tests/headers/call-conv-field.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// The linux-only thing is a hack around our lack of understanding when
66
// bindgen's target_os != the bindings' target_os :(
77
//
8-
// https://github.com/servo/rust-bindgen/issues/593
8+
// https://github.com/rust-lang-nursery/rust-bindgen/issues/593
99

1010
struct JNINativeInterface_ {
1111
int (__stdcall *GetVersion)(void *env);

0 commit comments

Comments
 (0)