rust/src
Josh Triplett 84d6e8aed3 Implement cfg(target_abi) (RFC 2992)
Add an `abi` field to `TargetOptions`, defaulting to "". Support using
`cfg(target_abi = "...")` for conditional compilation on that field.

Gated by `feature(cfg_target_abi)`.

Add a test for `target_abi`, and a test for the feature gate.

Add `target_abi` to tidy as a platform-specific cfg.

This does not add an abi to any existing target.
2021-07-07 08:52:35 -07:00
..
bootstrap Auto merge of #86663 - fee1-dead:use-rustdoc-css, r=GuillaumeGomez 2021-07-05 07:27:52 +00:00
build_helper Revert "Revert "Move llvm submodule updates to rustbuild"" 2021-06-04 22:17:01 -04:00
ci Only run error code explanation removal check if on CI 2021-07-03 01:01:13 +02:00
doc Auto merge of #86663 - fee1-dead:use-rustdoc-css, r=GuillaumeGomez 2021-07-05 07:27:52 +00:00
etc Remove unnecessary visualizer 2021-07-02 20:16:43 -04:00
librustdoc Auto merge of #86644 - Stupremee:replace-fakedefids-with-itemid, r=jyn514 2021-07-06 04:13:52 +00:00
llvm-project@39c5555872 Update LLVM submodule 2021-05-23 18:05:11 +10:00
rustdoc-json-types rustdoc- Show defaults on const generics 2021-06-03 09:01:25 +01:00
test Implement cfg(target_abi) (RFC 2992) 2021-07-07 08:52:35 -07:00
tools Implement cfg(target_abi) (RFC 2992) 2021-07-07 08:52:35 -07:00
README.md
stage0.txt Update to new bootstrap compiler 2021-06-28 11:30:49 -04:00
version Bump to 1.54 2021-06-11 19:19:55 -04:00

This directory contains the source code of the rust project, including:

  • The test suite
  • The bootstrapping build system
  • Various submodules for tools, like rustdoc, rls, etc.

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