rust/src
Jubilee 1d369312e4
Rollup merge of #129201 - joboet:random_faster_sources, r=joshtriplett
std: implement the `random` feature (alternative version)

Implements the ACP rust-lang/libs-team#393.

This PR is an alternative version of #129120 that replaces `getentropy` with `CCRandomGenerateBytes` (on macOS) and `arc4random_buf` (other BSDs), since that function is not suited for generating large amounts of data and should only be used to seed other CPRNGs. `CCRandomGenerateBytes`/`arc4random_buf` on the other hand is (on modern platforms) just as secure and uses its own, very strong CPRNG (ChaCha20 on the BSDs, AES on macOS) periodically seeded with `getentropy`.
2024-09-23 07:54:43 -07:00
..
bootstrap Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
ci Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
doc Add some missing tracking issue links 2024-09-22 14:03:48 +00:00
etc Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
gcc@fd3498bff0 Update GCC version 2024-09-06 16:01:46 +02:00
librustdoc Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
llvm-project@5699773936 Update to LLVM 19.1.0 2024-09-20 14:41:36 -07:00
rustdoc-json-types rustdoc: normalise type/field names in rustdoc-json-types/jsondoclint 2024-09-01 23:58:08 +03:00
tools update miri test 2024-09-23 10:36:17 +02:00
README.md
stage0 Bump stage0 2024-09-22 19:04:19 -04:00
version Bump to 1.83 2024-08-30 19:58:04 +01:00

This directory contains some source code for the Rust project, including:

  • The bootstrapping build system
  • Various submodules for tools, like cargo, tidy, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.