-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed many issues with
utils
, v0.2.0
- Loading branch information
Showing
5 changed files
with
85 additions
and
18 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
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
use vergen_git2::{BuildBuilder, CargoBuilder, Emitter, Git2Builder, RustcBuilder, SysinfoBuilder}; | ||
|
||
fn main() { | ||
let build = BuildBuilder::all_build().unwrap(); | ||
let cargo = CargoBuilder::all_cargo().unwrap(); | ||
let git2 = Git2Builder::all_git().unwrap(); | ||
let rustc = RustcBuilder::all_rustc().unwrap(); | ||
let si = SysinfoBuilder::all_sysinfo().unwrap(); | ||
|
||
Emitter::default() | ||
.add_instructions(&build).unwrap() | ||
.add_instructions(&cargo).unwrap() | ||
.add_instructions(&git2).unwrap() | ||
.add_instructions(&rustc).unwrap() | ||
.add_instructions(&si).unwrap() | ||
.emit().unwrap(); | ||
} |
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