fixed clippy fail on windows caused by dead code that is only needed on unix
This commit is contained in:
1 parent
c5da2c7c99
commit
3dd384c5c6
1 file changed
+1
@@ -164,6 +164,7 @@ fn modern_vanilla_meta(id: &str) -> serde_json::Value {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(unix)]
|
||||||
fn modern_vanilla_meta_with_java(id: &str, java_major: u32) -> serde_json::Value {
|
fn modern_vanilla_meta_with_java(id: &str, java_major: u32) -> serde_json::Value {
|
||||||
let mut meta = modern_vanilla_meta(id);
|
let mut meta = modern_vanilla_meta(id);
|
||||||
meta["javaVersion"] = json!({
|
meta["javaVersion"] = json!({
|
||||||
|
|||||||
Reference in new issue
Block a user