rust/src
Yuki Okushi 83f126bedf
Rollup merge of #78101 - RalfJung:foreign-static, r=oli-obk
fix static_ptr_ty for foreign statics

Cc https://github.com/rust-lang/rust/issues/74840

This does not fix that issue but fixes a problem in `static_ptr_ty` that we noticed while discussing that issue. I also added and updated a few comments. The one about `internal` locals being ignored does not seem to have been true [even in the commit that introduced it](https://github.com/rust-lang/rust/pull/44700/files#diff-ae2f3c7e2f9744f7ef43e96072b10e98d4e3fe74a3a399a3ad8a810fbe56c520R139).

r? @oli-obk
2020-10-21 13:59:43 +09:00
..
bootstrap Rollup merge of #77778 - jyn514:git-hook, r=mark-simulacrum 2020-10-20 12:11:00 +09:00
build_helper cleanup: Remove duplicate library names from Cargo.tomls 2020-08-30 22:57:54 +03:00
ci Update Xcode beta version to allow aarch64-apple-darwin to compile again 2020-10-14 13:51:28 -04:00
doc Auto merge of #76885 - dylni:move-slice-check-range-to-range-bounds, r=KodrAus 2020-10-18 18:50:43 +00:00
etc BTreeMap: improve gdb introspection of BTreeMap with ZST keys or values 2020-10-14 13:03:23 +02:00
librustdoc Rollup merge of #78094 - camelid:rustdoc-fix-source-title, r=jyn514 2020-10-21 13:59:41 +09:00
llvm-project@655a1467c9 Update LLVM for LLD COFF TLS alignment fix. 2020-10-17 01:34:08 -07:00
test Rollup merge of #78101 - RalfJung:foreign-static, r=oli-obk 2020-10-21 13:59:43 +09:00
tools Rollup merge of #78059 - JohnTitor:fix-linkcheck, r=ehuss 2020-10-18 04:11:15 +09:00
README.md Update README.md 2020-08-30 13:40:11 -05:00
stage0.txt Rollup merge of #77877 - scottmcm:fewer-try-trait-method-references, r=shepmaster 2020-10-19 18:20:20 +02:00
version Bump version to 1.49.0 2020-10-02 08:39:40 -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.