#![allow(non_camel_case_types)] #![allow(dead_code)] #![allow(non_upper_case_globals)] #![allow(clippy::bool_assert_comparison)] #![allow(clippy::box_default)] #![allow(clippy::collapsible_if)] #![allow(clippy::comparison_chain)] #![allow(clippy::derivable_impls)] #![allow(clippy::field_reassign_with_default)] #![allow(clippy::if_same_then_else)] #![allow(clippy::manual_is_ascii_check)] #![allow(clippy::mut_from_ref)] #![allow(clippy::needless_return)] #![allow(clippy::option_map_unit_fn)] #![allow(clippy::ptr_arg)] #![allow(clippy::redundant_slicing)] #![allow(clippy::too_many_arguments)] #![allow(clippy::uninlined_format_args)] #![allow(clippy::unnecessary_to_owned)] #![allow(clippy::unnecessary_unwrap)] pub const BUILD_VERSION: &str = match option_env!("FISH_BUILD_VERSION") { Some(v) => v, None => git_version::git_version!(args = ["--always", "--dirty=-dirty"], fallback = "unknown"), }; #[macro_use] mod common; mod abbrs; mod ast; mod autoload; mod builtins; mod color; mod compat; mod complete; mod curses; mod editable_line; mod env; mod env_dispatch; mod env_universal_common; mod event; mod exec; mod expand; mod fallback; mod fd_monitor; mod fd_readable_set; mod fds; #[allow(rustdoc::broken_intra_doc_links)] #[allow(clippy::module_inception)] #[allow(clippy::new_ret_no_self)] #[allow(clippy::wrong_self_convention)] #[allow(clippy::needless_lifetimes)] mod ffi; mod ffi_init; mod ffi_tests; mod fish; mod fish_indent; mod flog; mod fork_exec; mod function; mod future; mod future_feature_flags; mod global_safety; mod highlight; mod history; mod input; mod input_common; mod io; mod job_group; mod kill; mod locale; mod nix; mod null_terminated_array; mod operation_context; mod output; mod parse_constants; mod parse_execution; mod parse_tree; mod parse_util; mod parser; mod parser_keywords; mod path; mod pointer; mod print_help; mod proc; mod re; mod reader; mod redirection; mod screen; mod signal; mod smoke; mod termsize; mod threads; mod timer; mod tinyexpr; mod tokenizer; mod topic_monitor; mod trace; mod universal_notifier; mod util; mod wait_handle; mod wchar; mod wchar_ext; mod wchar_ffi; mod wcstringutil; mod wgetopt; mod widecharwidth; mod wildcard; mod wutil; #[cfg(any(test, feature = "fish-ffi-tests"))] #[allow(unused_imports)] // Easy way to suppress warnings while we have two testing modes. mod tests;