Function build_rs

Source
pub fn build_rs() -> Result<()>
Expand description

Set some compile-time environment variables.

  • TARGET: The target triple.
  • COMMIT_SHA: The commit hash.
  • COMMIT_DATE: The commit date.
  • BUILD_DATE: The current date.

ยงErrors

Returns an error if something went wrong, for example git failed.

OSZAR »