Sunagatov Denis
Sunagatov Denis
You feel like it is a workaround because, well, it is. There are a lot of problems regarding making threads work with `-no-libc` and still making anything coherent enough to...
Please help me understand, why do you need a statically linked executable?
> This might be related to a similar issue on Windows. Does running with `-no-thread-local` help in your case?
Some relevant info about the bug: The `read_entire_file*` calls in question go through the `read_entire_file_from_handle_or_err` procedure, which first uses `stat()` to get the length of the file, then attempts to...
A complete example: ```odin package bug import "core:fmt" import "core:os" main :: proc() { data, err := os.read_entire_file_or_err("/proc/meminfo") fmt.println(data, err) } ```
Other potential uses for custom field formatters in JSON: 1. Decoding and encoding RFC-3339 timestamps into/from `datetime.Date`, `datetime.DateTime`, `datetime.Ordinal` or `time.Time`, like javascript seems to be doing. 2. Decoding and...
> Is a best-fit search also wanted? Or perhaps even what we should try to implement before any of this? My motivation for trying this is that I don't trust...
Which shell you're using? `cmd`, `powershell` or `pwsh`? Does the problem reproduce on all three of them? Does the problem reproduce if instead `run -- `, you first did `build`...
It should be a compilation error (not a crash), because procedure groups are not functions and you can't take addresses of procedure groups.
Have you tried calling `linux.clock_gettime()` directly? I'm wondering if the `Errno` value is `nil` or has an error code.