fixup! Extract config path module. NFC

Fix cargo (non-cmake) build.
This commit is contained in:
Johannes Altmanninger
2025-06-13 12:17:04 +02:00
parent 6fd0025f38
commit 4be17bfefb

View File

@@ -22,7 +22,7 @@
#![allow(clippy::uninlined_format_args)]
#[cfg(feature = "installable")]
use fish::common::get_executable_path;
use fish::common::{get_executable_path, wcs2osstring};
#[allow(unused_imports)]
use fish::future::IsSomeAnd;
use fish::{
@@ -293,7 +293,6 @@ fn source_config_in_directory(parser: &Parser, dir: &wstr) -> bool {
#[cfg(feature = "installable")]
fn check_version_file(paths: &ConfigPaths, datapath: &wstr) -> Option<bool> {
use crate::common::wcs2osstring;
// (false-positive, is_none_or is a backport, this builds with 1.70)
#[allow(clippy::incompatible_msrv)]
if paths