1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

add some missing unsafe

This commit is contained in:
Sylvestre Ledru 2025-03-08 15:36:51 +01:00
parent 85c5d39fd7
commit b4ac10769d
12 changed files with 61 additions and 49 deletions

View file

@ -84,7 +84,9 @@ fuzz_target!(|_data: &[u8]| {
let rust_result = generate_and_run_uumain(&args, uumain, None);
// TODO remove once uutils printf supports localization
env::set_var("LC_ALL", "C");
unsafe {
env::set_var("LC_ALL", "C");
}
let gnu_result = match run_gnu_cmd(CMD_PATH, &args[1..], false, None) {
Ok(result) => result,
Err(error_result) => {