Constant COMMIT

Source
pub const COMMIT: &str = "7e8e62135c9a814d4157a2927849aadde35cc4a8";
Expand description

The current commit hash of the root Cuprate repository.

ยงCase & length

It is guaranteed that COMMIT will be:

  • Lowercase ASCII
  • 40 characters long (no newline)
assert!(COMMIT.is_ascii());
assert_eq!(COMMIT.len(), 40);
assert_eq!(COMMIT.to_lowercase(), COMMIT);