Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve warnings on Linux with no default features
`cargo check --target x86_64-unknown-linux-gnu --no-default-features` warning: function `get_all_utf8_data_from_file` is never used --> src/unix/linux/utils.rs:15:15 | 15 | pub(crate) fn get_all_utf8_data_from_file(file: &mut File, size: usize) -> io::Result<String> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: function `get_all_utf8_data` is never used --> src/unix/linux/utils.rs:22:15 | 22 | pub(crate) fn get_all_utf8_data<P: AsRef<Path>>(file_path: P, size: usize) -> io::Result<String> { | ^^^^^^^^^^^^^^^^^ warning: function `to_cpath` is never used --> src/unix/linux/utils.rs:88:15 | 88 | pub(crate) fn to_cpath(path: &std::path::Path) -> Vec<u8> { | ^^^^^^^^
- Loading branch information