Fix on rethrow + macros.

This commit is contained in:
Christoffer Lerno
2023-06-27 13:19:28 +02:00
parent fee80682b1
commit f651a59294
14 changed files with 566 additions and 498 deletions

View File

@@ -1,4 +1,4 @@
module std::io::os @if(env::LIBC);
module std::io::os;
import libc;
fn void! native_stat(Stat* stat, String path) @if(env::DARWIN || env::LINUX)
@@ -113,3 +113,5 @@ fn bool native_is_dir(String path)
return native_file_or_dir_exists(path) && !native_is_file(path);
$endif
}