rust/library/std/src/sys/random
Mads Marquart a7bafc0afc Change the syntax of the internal weak! macro
Change the syntax to include parameter names and a trailing semicolon.

Motivation:
- Mirror the `syscall!` macro.
- Allow rustfmt to format it (when wrapped in parentheses).
- For better documentation (having the parameter names available in
  the source code is a bit nicer).
- Allow future improvements to this macro where we can sometimes use the
  symbol directly when it's statically known to be available.
2025-03-26 16:25:05 +01:00
..
apple.rs std: switch to faster random sources on macOS and most BSDs 2024-09-23 10:36:16 +02:00
arc4random.rs Mark extern blocks as unsafe 2025-02-09 17:11:13 +00:00
espidf.rs Mark extern blocks as unsafe 2025-02-09 17:11:13 +00:00
fuchsia.rs Mark extern blocks as unsafe 2025-02-09 17:11:13 +00:00
getentropy.rs std: switch to faster random sources on macOS and most BSDs 2024-09-23 10:36:16 +02:00
getrandom.rs Unify cygwin & horizon random impl 2025-03-10 21:23:32 +08:00
hermit.rs std: implement the random feature 2024-09-23 10:29:51 +02:00
linux.rs Change the syntax of the internal weak! macro 2025-03-26 16:25:05 +01:00
mod.rs Rollup merge of #137621 - Berrysoft:cygwin-std, r=joboet 2025-03-17 05:47:49 -04:00
redox.rs std: implement the random feature 2024-09-23 10:29:51 +02:00
sgx.rs std: implement the random feature 2024-09-23 10:29:51 +02:00
solid.rs std: implement the random feature 2024-09-23 10:29:51 +02:00
teeos.rs Mark extern blocks as unsafe 2025-02-09 17:11:13 +00:00
trusty.rs Fix build failure on Trusty 2025-03-19 02:05:01 +09:00
uefi.rs std: implement the random feature 2024-09-23 10:29:51 +02:00
unix_legacy.rs std: switch to faster random sources on macOS and most BSDs 2024-09-23 10:36:16 +02:00
unsupported.rs std: implement the random feature 2024-09-23 10:29:51 +02:00
vxworks.rs std: implement the random feature 2024-09-23 10:29:51 +02:00
wasi.rs std: implement the random feature 2024-09-23 10:29:51 +02:00
windows.rs Fix *-win7-windows-msvc target since 26eeac1a1e 2025-02-19 18:05:37 +08:00
zkvm.rs std: implement the random feature 2024-09-23 10:29:51 +02:00