mirror of
https://github.com/wez/wezterm.git
synced 2024-12-18 02:42:05 +03:00
gui: don't warn about wsl helper function on unix
Technically is only used on windows, but I'm fine with having it built and tested on all platforms.
This commit is contained in:
parent
ae9a47e8a6
commit
780756bea8
@ -60,6 +60,7 @@ struct WslDistro {
|
|||||||
/// by looking at the tabulated output headers, determining
|
/// by looking at the tabulated output headers, determining
|
||||||
/// where the columns are and then collecting the information
|
/// where the columns are and then collecting the information
|
||||||
/// into a hashmap and then grokking from there.
|
/// into a hashmap and then grokking from there.
|
||||||
|
#[allow(dead_code)]
|
||||||
fn parse_wsl_distro_list(output: &str) -> Vec<WslDistro> {
|
fn parse_wsl_distro_list(output: &str) -> Vec<WslDistro> {
|
||||||
let lines = output.lines().collect::<Vec<_>>();
|
let lines = output.lines().collect::<Vec<_>>();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user