File tree Expand file tree Collapse file tree 7 files changed +10
-12
lines changed Expand file tree Collapse file tree 7 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -42,8 +42,6 @@ script:
42
42
after_success :
43
43
- test "$TRAVIS_PULL_REQUEST" == "false" &&
44
44
test "$TRAVIS_BRANCH" == "master" &&
45
- test "$BINDGEN_FEATURES" == "" &&
46
- test "$LLVM_VERSION" == "3.9.0" &&
47
45
./ci/deploy-book.sh
48
46
49
47
notifications :
Original file line number Diff line number Diff line change @@ -9,4 +9,4 @@ systems) on-the-fly.
9
9
[ ** TL;DR?** The full tutorial code is available here.] [ example ]
10
10
11
11
[ tutorial ] : http://fitzgeraldnick.com/2016/12/14/using-libbindgen-in-build-rs.html
12
- [ example ] : https://github.com/fitzgen/libbindgen -tutorial-bzip2-sys
12
+ [ example ] : https://github.com/fitzgen/bindgen -tutorial-bzip2-sys
Original file line number Diff line number Diff line change @@ -5,5 +5,5 @@ Declare a build-time dependency on `bindgen` by adding it to the
5
5
6
6
``` toml
7
7
[build-dependencies ]
8
- bindgen = " 0.23 "
8
+ bindgen = " 0.26.3 "
9
9
```
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ This can be used to generate code at compile time.
5
5
And of course in our case, we will be generating Rust FFI
6
6
bindings to ` bzip2 ` at compile time. The resulting bindings will be written to
7
7
` $OUT_DIR/bindings.rs ` where ` $OUT_DIR ` is chosen by ` cargo ` and is something
8
- like ` ./target/debug/build/libbindgen -tutorial-bzip2-sys-afc7747d7eafd720/out/ ` .
8
+ like ` ./target/debug/build/bindgen -tutorial-bzip2-sys-afc7747d7eafd720/out/ ` .
9
9
10
10
``` rust,ignore
11
11
extern crate bindgen;
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ We can run `cargo build` again to check that the bindings themselves compile:
18
18
19
19
``` bash
20
20
$ cargo build
21
- Compiling libbindgen -tutorial-bzip2-sys v0.1.0
21
+ Compiling bindgen -tutorial-bzip2-sys v0.1.0
22
22
Finished debug [unoptimized + debuginfo] target(s) in 62.8 secs
23
23
```
24
24
@@ -27,7 +27,7 @@ our generated Rust FFI structs match what `bindgen` thinks they should be:
27
27
28
28
``` bash
29
29
$ cargo test
30
- Compiling libbindgen -tutorial-bzip2-sys v0.1.0
30
+ Compiling bindgen -tutorial-bzip2-sys v0.1.0
31
31
Finished debug [unoptimized + debuginfo] target(s) in 0.0 secs
32
32
Running target/debug/deps/bzip2_sys-10413fc2af207810
33
33
@@ -49,7 +49,7 @@ test bindgen_test_layout__opaque_pthread_t ... ok
49
49
50
50
test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured
51
51
52
- Doc-tests libbindgen -tutorial-bzip2-sys
52
+ Doc-tests bindgen -tutorial-bzip2-sys
53
53
54
54
running 0 tests
55
55
Original file line number Diff line number Diff line change @@ -114,9 +114,9 @@ properly!
114
114
115
115
``` bash
116
116
$ cargo test
117
- Compiling libbindgen -tutorial-bzip2-sys v0.1.0
117
+ Compiling bindgen -tutorial-bzip2-sys v0.1.0
118
118
Finished debug [unoptimized + debuginfo] target(s) in 0.54 secs
119
- Running target/debug/deps/libbindgen_tutorial_bzip2_sys -1c5626bbc4401c3a
119
+ Running target/debug/deps/bindgen_tutorial_bzip2_sys -1c5626bbc4401c3a
120
120
121
121
running 15 tests
122
122
test bindgen_test_layout___darwin_pthread_handler_rec ... ok
@@ -161,7 +161,7 @@ test tests::round_trip_compression_decompression ... ok
161
161
162
162
test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured
163
163
164
- Doc-tests libbindgen -tutorial-bzip2-sys
164
+ Doc-tests bindgen -tutorial-bzip2-sys
165
165
166
166
running 0 tests
167
167
Original file line number Diff line number Diff line change @@ -10,4 +10,4 @@ Check out the [full code on Github!][example]
10
10
11
11
[ bz-sys ] : https://crates.io/crates/bzip2-sys
12
12
[ bz ] : https://crates.io/crates/bzip2
13
- [ example ] : https://github.com/fitzgen/libbindgen -tutorial-bzip2-sys
13
+ [ example ] : https://github.com/fitzgen/bindgen -tutorial-bzip2-sys
You can’t perform that action at this time.
0 commit comments