rust/src
bors 798446fe06 Auto merge of #87772 - npmccallum:naked_abi, r=Amanieu
Move naked function ABI check to its own lint

This check was previously categorized under the lint named
`UNSUPPORTED_NAKED_FUNCTIONS`. That lint is future incompatible and will
be turned into an error in a future release. However, as defined in the
Constrained Naked Functions RFC, this check should only be a warning.
This is because it is possible for a naked function to be implemented in
such a way that it does not break even the undefined ABI. For example, a
`jmp` to a `const`.

Therefore, this patch defines a new lint named
`UNDEFINED_NAKED_FUNCTION_ABI` which contains just this single check.
Unlike `UNSUPPORTED_NAKED_FUNCTIONS`, `UNDEFINED_NAKED_FUNCTION_ABI`
will not be converted to an error in the future.

rust-lang/rfcs#2774
rust-lang/rfcs#2972
2021-08-07 23:24:15 +00:00
..
bootstrap Rollup merge of #87744 - Smittyvb:xpy-test-force-rerun, r=Mark-Simulacrum 2021-08-08 01:13:41 +09:00
build_helper rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
ci Auto merge of #85782 - badboy:build-ios-sim-target, r=Mark-Simulacrum 2021-08-01 00:12:18 +00:00
doc Promote aarch64-apple-ios-sim to Tier 2 2021-08-04 15:06:26 +02:00
etc Auto merge of #85305 - MarcusDunn:master, r=pnkfelix 2021-07-27 05:53:31 +00:00
librustdoc Rollup merge of #87834 - camelid:span-typo, r=CraftSpider 2021-08-08 01:13:43 +09:00
llvm-project@260e0f8682 Bump LLVM for RegAllocFast bugfix 2021-07-29 19:23:41 -05:00
rustdoc-json-types rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
test Auto merge of #87772 - npmccallum:naked_abi, r=Amanieu 2021-08-07 23:24:15 +00:00
tools Auto merge of #87851 - JohnTitor:rollup-odvmr47, r=JohnTitor 2021-08-07 18:21:04 +00:00
README.md update message 2021-02-14 10:08:37 +05:30
stage0.txt bump bootstrap compiler to 1.55 2021-08-01 11:19:24 -04:00
version Bump to 1.56 2021-07-23 17:04:59 -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.