rust/src
Andy Russell 6fefcee73a
use utf-8 throughout htmldocck
This commit improves compatibility with Python 3, which already uses
Unicode throughout.

It also fixes a subtle incompatibility stemming from the use of
`entitydefs`, which contains replacement text _encoded in latin-1_ for
HTML entities. When using Python 3, this would cause `0xa0` to be
incorrectly added to the element tree.

This meant that there was a rustdoc test that would pass under Python 2
but fail under Python 3, due to an incorrect regex match against the
non-breaking space character. This commit triggers that failure in both
versions, and also fixes it.
2019-01-06 01:27:33 -05:00
..
bootstrap Update cargo, rls, miri 2018-12-28 17:23:01 -08:00
build_helper Remove licenses 2018-12-25 21:08:33 -07:00
ci ci: Upgrade Travis to Xenial 2019-01-03 12:22:37 -08:00
doc Auto merge of #56145 - weiznich:re_rebalance_coherence, r=nikomatsakis 2019-01-05 00:49:12 +00:00
etc use utf-8 throughout htmldocck 2019-01-06 01:27:33 -05:00
grammar Remove licenses 2018-12-25 21:08:33 -07:00
liballoc Mention ToString in std::fmt docs 2018-12-29 19:17:03 -05:00
libarena Check the correct arena 2019-01-01 20:06:50 +01:00
libcore Auto merge of #57125 - doitian:inconsistent-clone-doc, r=bluss 2019-01-01 20:50:13 +00:00
libfmt_macros Point at correct span for arguments in format strings 2018-12-26 20:36:02 -08:00
libgraphviz Remove licenses 2018-12-25 21:08:33 -07:00
libpanic_abort Bound sgx target_env with fortanix as target_vendor 2018-12-31 16:32:56 -08:00
libpanic_unwind Remove licenses 2018-12-25 21:08:33 -07:00
libproc_macro Work-around for shadowing of variant names with assoc const names in libproc_macro/bridge/rpc.rs. 2018-12-26 21:40:21 +00:00
libprofiler_builtins Remove licenses 2018-12-25 21:08:33 -07:00
librustc Auto merge of #57101 - o01eg:fix-57014, r=alexcrichton 2019-01-05 12:21:44 +00:00
librustc_allocator Remove licenses 2018-12-25 21:08:33 -07:00
librustc_apfloat Remove licenses 2018-12-25 21:08:33 -07:00
librustc_asan Remove licenses 2018-12-25 21:08:33 -07:00
librustc_borrowck Update link to rustc guide 2018-12-28 13:34:00 -05:00
librustc_codegen_llvm add support for principal-less trait object types 2019-01-04 00:34:52 +02:00
librustc_codegen_ssa Auto merge of #56837 - arielb1:nonprincipal-trait-objects, r=nikomatsakis 2019-01-05 03:36:31 +00:00
librustc_codegen_utils Remove licenses 2018-12-25 21:08:33 -07:00
librustc_cratesio_shim Remove licenses 2018-12-25 21:08:33 -07:00
librustc_data_structures Remove licenses 2018-12-25 21:08:33 -07:00
librustc_driver Auto merge of #57101 - o01eg:fix-57014, r=alexcrichton 2019-01-05 12:21:44 +00:00
librustc_errors Remove licenses 2018-12-25 21:08:33 -07:00
librustc_fs_util Remove licenses 2018-12-25 21:08:33 -07:00
librustc_incremental Remove licenses 2018-12-25 21:08:33 -07:00
librustc_lint rename type_moves_by_default to type_is_copy_modulo_regions 2019-01-02 17:35:06 -05:00
librustc_llvm Remove licenses 2018-12-25 21:08:33 -07:00
librustc_lsan Remove licenses 2018-12-25 21:08:33 -07:00
librustc_metadata Store Ident rather than just Name in HIR types Item and ForeignItem. 2018-12-26 21:26:37 +00:00
librustc_mir Auto merge of #57099 - davidtwco:issue-57098, r=nikomatsakis 2019-01-05 09:41:04 +00:00
librustc_msan Remove licenses 2018-12-25 21:08:33 -07:00
librustc_passes Do not abort compilation if expansion produces errors 2018-12-27 15:51:36 +03:00
librustc_platform_intrinsics Remove licenses 2018-12-25 21:08:33 -07:00
librustc_plugin Remove licenses 2018-12-25 21:08:33 -07:00
librustc_privacy Address review comments 2019-01-01 01:39:55 +03:00
librustc_resolve Auto merge of #57199 - petrochenkov:ambig, r=estebank 2019-01-01 02:08:39 +00:00
librustc_save_analysis Remove licenses 2018-12-25 21:08:33 -07:00
librustc_target Remove licenses 2018-12-25 21:08:33 -07:00
librustc_traits Auto merge of #56837 - arielb1:nonprincipal-trait-objects, r=nikomatsakis 2019-01-05 03:36:31 +00:00
librustc_tsan Remove licenses 2018-12-25 21:08:33 -07:00
librustc_typeck Auto merge of #56837 - arielb1:nonprincipal-trait-objects, r=nikomatsakis 2019-01-05 03:36:31 +00:00
librustdoc Auto merge of #56837 - arielb1:nonprincipal-trait-objects, r=nikomatsakis 2019-01-05 03:36:31 +00:00
libserialize Remove licenses 2018-12-25 21:08:33 -07:00
libstd Auto merge of #57243 - dingelish:master, r=sfackler 2019-01-02 15:09:41 +00:00
libsyntax Auto merge of #56145 - weiznich:re_rebalance_coherence, r=nikomatsakis 2019-01-05 00:49:12 +00:00
libsyntax_ext make panictry! private to libsyntax 2019-01-02 11:02:30 -05:00
libsyntax_pos Remove licenses 2018-12-25 21:08:33 -07:00
libterm Remove licenses 2018-12-25 21:08:33 -07:00
libtest Bound sgx target_env with fortanix as target_vendor 2018-12-31 16:32:56 -08:00
libunwind Remove licenses 2018-12-25 21:08:33 -07:00
llvm@f4728ed8fa Update LLVM submodule 2018-12-18 15:26:10 +05:30
llvm-emscripten@7f23313edf Pull in fix for dist-i686-linux build 2018-11-09 16:59:45 +01:00
rtstartup Remove licenses 2018-12-25 21:08:33 -07:00
rustc Remove licenses 2018-12-25 21:08:33 -07:00
rustllvm Remove licenses 2018-12-25 21:08:33 -07:00
stdsimd@513e067908 Update the stdsimd submodule 2018-12-17 13:40:21 -08:00
test use utf-8 throughout htmldocck 2019-01-06 01:27:33 -05:00
tools Update cargo 2019-01-03 12:59:54 -08:00
.gitignore
README.md rustc-guide has moved 2018-11-26 15:03:13 -06:00
stage0.txt Bump to 1.33.0 2018-12-12 08:09:26 -08:00

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

  • rustc and its tests
  • libstd
  • Various submodules for tools, like rustdoc, rls, etc.

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

There is also useful content in the following READMEs, which are gradually being moved over to the guide: