You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: book/src/tutorial-3.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Create a `build.rs` File
2
2
3
-
We create a `build.rs` file in our crate's root. Cargo will pick up on the existence of this file and compile and executed it before the rest of the crate is built.
3
+
We create a `build.rs` file in our crate's root. Cargo will pick up on the existence of this file, then compile and execute it before the rest of the crate is built.
4
4
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
0 commit comments