Skip to content

Commit

Permalink
Use a specific commit ID when checking out libcubeb in cubeb-sys/buil…
Browse files Browse the repository at this point in the history
…d.rs.
  • Loading branch information
kinetiknz committed Nov 5, 2024
1 parent 512f66a commit b157769
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cubeb-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
// This program is made available under an ISC-style license. See the
// accompanying file LICENSE for details.

// This should match the submodule for cubeb-sys/libcubeb.
const LIBCUBEB_COMMIT: &str = "78b2bce70e0d1c21d3c175b72f322c50801b2e94";

#[cfg(not(feature = "gecko-in-tree"))]
extern crate cmake;
#[cfg(not(feature = "gecko-in-tree"))]
Expand Down Expand Up @@ -59,6 +62,9 @@ fn main() {
&libcubeb_path,
])
.status();
let _ = Command::new("git")
.args(["-C", &libcubeb_path, "reset", "--hard", LIBCUBEB_COMMIT])
.status();
let _ = Command::new("git")
.args([
"-C",
Expand Down

0 comments on commit b157769

Please sign in to comment.