Skip to content

Commit eec7e5e

Browse files
committed
Fix home_dir.
1 parent 90e8cbe commit eec7e5e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libstd/sys/unix/os.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,7 @@ pub fn home_dir() -> Option<PathBuf> {
578578
target_os = "android",
579579
target_os = "ios",
580580
target_os = "emscripten",
581+
target_os = "freertos",
581582
target_os = "redox"
582583
))]
583584
unsafe fn fallback() -> Option<OsString> {
@@ -587,6 +588,7 @@ pub fn home_dir() -> Option<PathBuf> {
587588
target_os = "android",
588589
target_os = "ios",
589590
target_os = "emscripten",
591+
target_os = "freertos",
590592
target_os = "redox"
591593
)))]
592594
unsafe fn fallback() -> Option<OsString> {

0 commit comments

Comments
 (0)