We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7633da1 commit cce4544Copy full SHA for cce4544
framework_lib/src/util.rs
@@ -36,7 +36,8 @@ pub enum Platform {
36
37
#[derive(Debug)]
38
pub struct Config {
39
- pub verbose: bool,
+ // TODO: Actually set and read this
40
+ pub _verbose: bool,
41
pub platform: Platform,
42
}
43
@@ -49,7 +50,7 @@ impl Config {
49
50
51
if (*config).is_none() {
52
*config = Some(Config {
- verbose: false,
53
+ _verbose: false,
54
platform,
55
});
56
@@ -76,7 +77,7 @@ impl Config {
76
77
// get_platform will call Config::get() recursively,
78
// can't hold the lock when calling it
79
smbios::get_platform().map(|platform| Config {
80
81
82
})
83
} else {
0 commit comments