https://issues.dlang.org/show_bug.cgi?id=18158
--- Comment #1 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/767d1c51d4ae2e24c9d1752db4c1f1b881a3b658 Fix Issue 18158 - std.file.getcwd should be usable in @safe https://github.com/dlang/phobos/commit/ba11d630a02345fa634d098694273f145fc5428f Merge pull request #6252 from JackStouffer/issue18158 Fix Issue 18158 - std.file.getcwd should be usable in @safe merged-on-behalf-of: Jack Stouffer <j...@jackstouffer.com> --