Skip to content

s/servo/rust-lang-nursery/ \o/ #853

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 26, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion book/src/introduction.md
Original file line number Diff line number Diff line change
@@ -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`:
Expand Down
2 changes: 1 addition & 1 deletion ci/deploy-book.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ git init
git config user.name "Travis CI"
git config user.email "[email protected]"

git remote add upstream "https://[email protected]/servo/rust-bindgen.git"
git remote add upstream "https://[email protected]/rust-lang-nursery/rust-bindgen.git"
git fetch upstream
git reset upstream/gh-pages

Expand Down
4 changes: 2 additions & 2 deletions src/codegen/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
//
Expand Down Expand Up @@ -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| {
Expand Down
2 changes: 1 addition & 1 deletion src/ir/comp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions src/ir/function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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
//
Expand Down
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
2 changes: 1 addition & 1 deletion src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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."),
Expand Down
2 changes: 1 addition & 1 deletion tests/headers/call-conv-field.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down