mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-23 18:25:06 +00:00
517d53dc46
The original implementation without the test took me 3 hours (first time seriously looking into this) The functions take "wcharz_t" for smooth integration with existing C++ callers. This is at the expense of Rust callers, which would prefer "&wstr". Would be nice to declare a function parameter that accepts both but I don't think that really works since "wcharz_t" drops the lifetime annotation.
25 lines
373 B
Rust
25 lines
373 B
Rust
#![allow(non_camel_case_types)]
|
|
#![allow(dead_code)]
|
|
#![allow(non_upper_case_globals)]
|
|
#![allow(clippy::needless_return)]
|
|
|
|
#[macro_use]
|
|
extern crate lazy_static;
|
|
|
|
mod fd_readable_set;
|
|
mod fds;
|
|
mod ffi;
|
|
mod ffi_init;
|
|
mod ffi_tests;
|
|
mod flog;
|
|
mod signal;
|
|
mod smoke;
|
|
mod topic_monitor;
|
|
mod util;
|
|
mod wchar;
|
|
mod wchar_ext;
|
|
mod wchar_ffi;
|
|
mod wgetopt;
|
|
mod wutil;
|
|
|
|
mod builtins;
|