-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c807e5d
commit e3ce9bf
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
use target_info::Target; | ||
|
||
pub const VERSION: &str = "Voltaire/v0.1.0a34"; | ||
pub const VERSION: &str = "Voltaire/v0.1.0a35"; | ||
|
||
/// Returns `VERSION`, but with platform information appended to the end. | ||
/// | ||
/// ## Example | ||
/// | ||
/// `Voltaire/v0.1.0a34/x86_64-linux` | ||
/// `Voltaire/v0.1.0a35/x86_64-linux` | ||
pub fn version_with_platform() -> String { | ||
format!("{}/{}-{}", VERSION, Target::arch(), Target::os()) | ||
} |