rust/src
bors 9e3cbbb60a Auto merge of #50369 - pftbest:unicode, r=SimonSapin
Fix a warning in libcore on 16bit targets.

This code is assuming that usize >= 32bits, but it is not the case on
16bit targets. It is producing a warning that can fail the compilation
on MSP430 if deny(warnings) is enabled.
It is very unlikely that someone would actually use this code on
a microcontroller, but since unicode was merged into libcore we
have to compile it on 16bit targets.

I've tried to make sure that the code stays the same on x86,
here is an assembly comparison: https://godbolt.org/g/wFw7dZ

r? @SimonSapin
2018-05-03 02:01:04 +00:00
..
bootstrap rustbuild: Normalize paths coming from Python slightly 2018-05-01 21:25:38 +03:00
build_helper Run rustfmt on build_helper 2018-04-12 14:49:03 +09:00
ci Fix the miri tool 2018-04-23 11:38:13 +02:00
dlmalloc@c99638dc2e Update to most recent version of dlmalloc 2018-04-12 22:53:02 +02:00
doc Auto merge of #48925 - zackmdavis:fn_must_stabilize, r=nikomatsakis 2018-04-30 22:02:33 +00:00
etc Auto merge of #49881 - varkor:partialord-opt, r=Manishearth 2018-04-15 03:54:15 +00:00
grammar Remove all unstable placement features 2018-04-03 11:02:34 +02:00
jemalloc@1f5a28755e
liballoc Auto merge of #49724 - kennytm:range-inc-start-end-methods, r=Kimundi 2018-05-01 10:10:46 +00:00
liballoc_jemalloc Remove Alloc::oom 2018-04-22 10:08:49 -07:00
liballoc_system Remove Alloc::oom 2018-04-22 10:08:49 -07:00
libarena Make arenas thread safe 2018-04-15 20:53:03 +02:00
libbacktrace
libcompiler_builtins@2a2f6d96c8
libcore Auto merge of #50369 - pftbest:unicode, r=SimonSapin 2018-05-03 02:01:04 +00:00
libfmt_macros Move deny(warnings) into rustbuild 2018-04-08 16:59:14 -06:00
libgraphviz Move deny(warnings) into rustbuild 2018-04-08 16:59:14 -06:00
liblibc@a7e78a78e1
libpanic_abort std: Minimize size of panicking on wasm 2018-04-13 07:03:00 -07:00
libpanic_unwind std: Minimize size of panicking on wasm 2018-04-13 07:03:00 -07:00
libproc_macro Fix review nits 2018-04-26 18:28:34 -04:00
libprofiler_builtins Inject the compiler_builtins crate whenever the core crate is injected 2018-04-07 09:24:35 +02:00
librustc Auto merge of #50354 - varkor:initial-field-alignment-c-int, r=eddyb 2018-05-02 17:02:25 +00:00
librustc_allocator rustc_target: move in syntax::abi and flip dependency. 2018-04-26 17:49:16 +03:00
librustc_apfloat Comment typo 2018-04-30 18:18:32 +02:00
librustc_asan Inject the compiler_builtins crate whenever the core crate is injected 2018-04-07 09:24:35 +02:00
librustc_borrowck Disable AST unused mut check when using MIR borrowck 2018-04-28 01:55:24 -07:00
librustc_cratesio_shim rustc_target: move in syntax::abi and flip dependency. 2018-04-26 17:49:16 +03:00
librustc_data_structures Auto merge of #50240 - nnethercote:LazyBTreeMap, r=cramertj 2018-04-28 21:19:33 +00:00
librustc_driver rustc_driver: Catch ICEs on the main thread too 2018-04-27 14:57:00 -07:00
librustc_errors Approximate -> Applicability 2018-04-25 14:55:25 -07:00
librustc_incremental Rename InternedString to LocalInternedString and introduce a new thread-safe InternedString 2018-04-27 03:35:32 +02:00
librustc_lint stabilize #[must_use] for functions and must-use operators 2018-04-28 20:32:49 -07:00
librustc_llvm Add rerun-if-env-changed=RUST_CHECK to librustc_llvm 2018-04-19 00:09:41 +01:00
librustc_lsan Inject the compiler_builtins crate whenever the core crate is injected 2018-04-07 09:24:35 +02:00
librustc_metadata Auto merge of #50271 - sinkuu:fix_ice, r=eddyb 2018-04-29 03:01:09 +00:00
librustc_mir Auto merge of #50282 - fitzgen:run-more-passes-on-constant-mir, r=nikomatsakis 2018-05-02 05:22:29 +00:00
librustc_msan Inject the compiler_builtins crate whenever the core crate is injected 2018-04-07 09:24:35 +02:00
librustc_passes Unify MIR assert messages and const eval errors 2018-04-30 18:29:15 +02:00
librustc_platform_intrinsics Move deny(warnings) into rustbuild 2018-04-08 16:59:14 -06:00
librustc_plugin Move deny(warnings) into rustbuild 2018-04-08 16:59:14 -06:00
librustc_privacy Avoid comparing fields by name when possible 2018-04-12 23:06:03 +03:00
librustc_resolve Auto merge of #50355 - petrochenkov:50187, r=oli-obk 2018-05-02 20:33:31 +00:00
librustc_save_analysis rustc_target: move in syntax::abi and flip dependency. 2018-04-26 17:49:16 +03:00
librustc_target Auto merge of #49724 - kennytm:range-inc-start-end-methods, r=Kimundi 2018-05-01 10:10:46 +00:00
librustc_traits Conservatively assume dropping a generator touches its upvars, via locals' dtors. 2018-05-01 22:28:54 +02:00
librustc_trans Auto merge of #50278 - eddyb:mir-succ-iter, r=nikomatsakis 2018-05-02 02:10:51 +00:00
librustc_trans_utils Rename InternedString to LocalInternedString and introduce a new thread-safe InternedString 2018-04-27 03:35:32 +02:00
librustc_tsan Inject the compiler_builtins crate whenever the core crate is injected 2018-04-07 09:24:35 +02:00
librustc_typeck Auto merge of #50198 - oli-obk:const_prop, r=eddyb 2018-05-01 12:16:14 +00:00
librustdoc Auto merge of #49982 - petrochenkov:noreex, r=alexcrichton 2018-05-01 21:22:49 +00:00
libserialize Move deny(warnings) into rustbuild 2018-04-08 16:59:14 -06:00
libstd Fix an error from "unused" lint + Fix rebase 2018-05-01 17:02:18 +03:00
libstd_unicode Mark the rest of the unicode feature flag as perma-unstable. 2018-04-12 00:13:53 +02:00
libsyntax Auto merge of #50339 - nnethercote:lazy-Printer-buf, r=michaelwoerister 2018-05-02 10:13:11 +00:00
libsyntax_ext rustc_target: move in syntax::abi and flip dependency. 2018-04-26 17:49:16 +03:00
libsyntax_pos Rollup merge of #50192 - bobtwinkles:libsyntax_extensions, r=jseyfried 2018-04-28 03:32:13 +08:00
libterm Move deny(warnings) into rustbuild 2018-04-08 16:59:14 -06:00
libtest Add rustdoc-ui test suite 2018-04-16 23:37:11 +02:00
libunwind Remove unwanted auto-linking and update 2018-04-16 23:37:11 +02:00
llvm@7243155b1c Use the GlobalAlloc trait for #[global_allocator] 2018-04-12 22:53:12 +02:00
llvm-emscripten@2717444753
rtstartup
rustc Rename rustc_back::target to rustc_target::spec. 2018-04-26 16:39:44 +03:00
rustllvm Use the GlobalAlloc trait for #[global_allocator] 2018-04-12 22:53:12 +02:00
stdsimd@1ea18a5cb4 Update stdsimd submodule 2018-04-19 23:47:28 +02:00
test Auto merge of #50355 - petrochenkov:50187, r=oli-obk 2018-05-02 20:33:31 +00:00
tools Update RLS and Rustfmt 2018-05-02 10:20:49 +12:00
Cargo.lock Update RLS and Rustfmt 2018-05-02 10:20:49 +12:00
Cargo.toml Set opt-level to 3 2018-05-01 09:04:36 +02:00
README.md
stage0.txt Bump bootstrap compiler to 2018-04-24 2018-04-25 15:57:33 +02: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.

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