rust/src
bors 80420a693f Auto merge of #124747 - MasterAwesome:master, r=davidtwco
Support Result<T, E> across FFI when niche optimization can be used (v2)

This PR is identical to #122253, which was approved and merged but then removed from master by a force-push due to a [CI bug](https://rust-lang.zulipchat.com/#narrow/stream/242791-t-infra/topic/ci.20broken.3F).

r? ghost

Original PR description:

---

Allow allow enums like `Result<T, E>` to be used across FFI if the T/E can be niche optimized and the non-niche-optimized type is FFI safe.

Implementation of https://github.com/rust-lang/rfcs/pull/3391
Tracking issue: https://github.com/rust-lang/rust/issues/110503

Additional ABI and codegen tests were added in https://github.com/rust-lang/rust/pull/115372
2024-05-06 00:55:49 +00:00
..
bootstrap Rollup merge of #124668 - 12101111:fix-bootstrap-tarball, r=onur-ozkan 2024-05-05 16:42:46 +02:00
ci Rollup merge of #124663 - Kobzol:docker-local-download, r=Mark-Simulacrum 2024-05-04 22:27:31 +02:00
doc Auto merge of #124747 - MasterAwesome:master, r=davidtwco 2024-05-06 00:55:49 +00:00
etc introduce x vendor 2024-04-22 17:07:49 +03:00
librustdoc Rollup merge of #124148 - notriddle:notriddle/reference, r=GuillaumeGomez 2024-05-05 16:42:46 +02:00
llvm-project@5399a24c66 Update LLVM to 1deeee3 2024-04-17 06:28:22 +08:00
rustdoc-json-types Fix some typos in comments 2024-04-25 10:47:24 +08:00
tools Auto merge of #124754 - RalfJung:miri-sync, r=RalfJung 2024-05-05 17:08:24 +00:00
README.md Remove stale reference to the test suite location 2023-01-13 11:49:06 +00:00
stage0.json Bump stage0 to next beta 2024-05-01 21:01:51 -04:00
version Bump version to 1.80 2024-04-27 19:03:50 -04: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.