enhance(fs): improve error message when resolving path in debug builds (#1939)

* enhance(fs): improve error message when resolving path in debug builds

closes #11338

* fix compilation

* deduplicate read_file code

* fix compile

* fix compile again

* fmt

* comma

* add change file

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
This commit is contained in:
Amr Bashir
2025-10-09 14:58:08 +03:00
committed by GitHub
parent 67a7bf80f8
commit 6b5b1053ba
4 changed files with 118 additions and 19 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ impl<R: Runtime> Fs<R> {
std::fs::File::from_raw_fd(fd)
})
} else {
todo!()
unimplemented!()
}
}
}