Skip to content

Commit

Permalink
Update build.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
onur-ozkan authored Mar 2, 2023
1 parent 6d41fd9 commit f497d2e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions mm2src/mm2_bin_lib/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,7 @@ fn root() -> PathBuf {
/// we might skip synchronizing the Git repository there),
/// but if it is, then we're going to check if the “MM_DATETIME” and the Git data match.
fn mm_version() -> String {
// We fetch the actual git version here,
// with `git log '--pretty=format:%h' -n 1` for the nightlies,
// and a release tag when building from some kind of a stable branch,
// though we should keep the ability for the tooling to provide the “MM_VERSION”
// externally, because moving the entire ".git" around is not always practical.
// Reading version of `mm2_bin_lib` from cargo manifest
let mut version = env!("CARGO_PKG_VERSION").to_owned();

let mm_version_p = root().join("../../MM_VERSION");
Expand Down

0 comments on commit f497d2e

Please sign in to comment.