Skip to content

Commit 520e6b6

Browse files
committed
Add doc comment to ProgramMetadata
1 parent 4f489b9 commit 520e6b6

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/output.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,22 @@ struct Metadata<'a> {
7171
program: ProgramMetadata<'a>,
7272
}
7373

74+
/// Information about the version and build of MUSE
7475
#[derive(Serialize)]
7576
struct ProgramMetadata<'a> {
77+
/// The program name
7678
name: &'a str,
79+
/// The program version as specified in Cargo.toml
7780
version: &'a str,
81+
/// The target architecture for the build (e.g. x86_64-unknown-linux-gnu)
7882
target: &'a str,
83+
/// Whether it is a debug build
7984
is_debug: bool,
85+
/// The version of rustc used to compile MUSE
8086
rustc_version: &'a str,
87+
/// When MUSE was built
8188
build_time_utc: &'a str,
89+
/// The git commit hash for the version of MUSE (if known)
8290
git_commit_hash: String,
8391
}
8492

0 commit comments

Comments
 (0)