Skip to content

Commit

Permalink
Deploying to gh-pages from @ 6e133ba 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
emilio committed Jan 28, 2024
1 parent 0c56bd7 commit be000af
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 16 deletions.
5 changes: 1 addition & 4 deletions non-system-libraries.html
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,6 @@ <h1 class="menu-title">The bindgen User Guide</h1>
// automatically know it must look for a `libhello.a` file.
println!(&quot;cargo:rustc-link-lib=hello&quot;);

// Tell cargo to invalidate the built crate whenever the header changes.
println!(&quot;cargo:rerun-if-changed={}&quot;, headers_path_str);

// Run `clang` to compile the `hello.c` file into a `hello.o` object file.
// Unwrap if it is not possible to spawn the process.
if !std::process::Command::new(&quot;clang&quot;)
Expand Down Expand Up @@ -255,7 +252,7 @@ <h1 class="menu-title">The bindgen User Guide</h1>
.header(headers_path_str)
// Tell cargo to invalidate the built crate whenever any of the
// included header files changed.
.parse_callbacks(Box::new(CargoCallbacks))
.parse_callbacks(Box::new(CargoCallbacks::new()))
// Finish the builder and generate the bindings.
.generate()
// Unwrap the Result and panic on failure.
Expand Down
8 changes: 1 addition & 7 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -322,9 +322,6 @@ <h1><a class="header" href="#create-a-buildrs-file" id="create-a-buildrs-file">C
// shared library.
println!(&quot;cargo:rustc-link-lib=bz2&quot;);

// Tell cargo to invalidate the built crate whenever the wrapper changes
println!(&quot;cargo:rerun-if-changed=wrapper.h&quot;);

// The bindgen::Builder is the main entry point
// to bindgen, and lets you build up options for
// the resulting bindings.
Expand Down Expand Up @@ -614,9 +611,6 @@ <h1><a class="header" href="#publish-your-crate" id="publish-your-crate">Publish
// automatically know it must look for a `libhello.a` file.
println!(&quot;cargo:rustc-link-lib=hello&quot;);

// Tell cargo to invalidate the built crate whenever the header changes.
println!(&quot;cargo:rerun-if-changed={}&quot;, headers_path_str);

// Run `clang` to compile the `hello.c` file into a `hello.o` object file.
// Unwrap if it is not possible to spawn the process.
if !std::process::Command::new(&quot;clang&quot;)
Expand Down Expand Up @@ -657,7 +651,7 @@ <h1><a class="header" href="#publish-your-crate" id="publish-your-crate">Publish
.header(headers_path_str)
// Tell cargo to invalidate the built crate whenever any of the
// included header files changed.
.parse_callbacks(Box::new(CargoCallbacks))
.parse_callbacks(Box::new(CargoCallbacks::new()))
// Finish the builder and generate the bindings.
.generate()
// Unwrap the Result and panic on failure.
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions tutorial-3.html
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,6 @@ <h1><a class="header" href="#create-a-buildrs-file" id="create-a-buildrs-file">C
// shared library.
println!(&quot;cargo:rustc-link-lib=bz2&quot;);

// Tell cargo to invalidate the built crate whenever the wrapper changes
println!(&quot;cargo:rerun-if-changed=wrapper.h&quot;);

// The bindgen::Builder is the main entry point
// to bindgen, and lets you build up options for
// the resulting bindings.
Expand Down

0 comments on commit be000af

Please sign in to comment.