Yawning Angel
e1ba69ea51
base/runtime: Add rand_bytes and HAS_RAND_BYTES
...
Having the OS/runtime provide a cryptographic entropy source is the
right thing to do, and we need it to initialize the default random
number generator.
2025-11-29 10:45:53 +09:00
gingerBill
efb553afad
Add runtime.exit
2025-10-30 16:29:23 +00:00
Karl Zylinski
19f0127e55
Moved all packages in core, base, vendor, tests and examples to use new #+ file tag syntax.
2024-09-14 18:27:49 +02:00
Laytan Laats
ddad2011e2
darwin: remove syscall usage (without -no-crt) to comply to Apple guidelines
2024-07-08 15:39:23 +02:00
Ralph Caraveo
a974c08aff
Incorrect write syscall on Darwin - fixes stderr output.
...
On macos, Odin was previously swallowing errors that would be reported via stderr.
I've confirmed with @laytan on Discord that this fixes the issue.
2024-03-08 16:19:59 -08:00
Laytan Laats
eb811e8341
fix -no-crt on Darwin
2024-02-02 19:49:40 +01:00
gingerBill
f0a7f1812f
Rename runtime.os_write to runtime.stderr_write
2024-01-29 16:29:56 +00:00
gingerBill
3c47503780
Improve foreign variable fuzzy type checking
2024-01-28 23:35:01 +00:00
gingerBill
9e7cc8cf93
Remove core:os dependency from base:runtime; change to base:intrinsics
2024-01-28 21:59:43 +00:00
gingerBill
09fa1c29cd
Move core:runtime to base:runtime; keep alias around
2024-01-28 21:05:53 +00:00