rust/src
Dylan DPC 3b41e54799
Rollup merge of #73036 - alexcrichton:update-wasm-fence, r=Mark-Simulacrum
std: Enable atomic.fence emission on wasm32

This commit removes the `#[cfg]` guards in `atomic::fence` on wasm
targets. Since these guards were originally added the upstream wasm
specification for threads gained an `atomic.fence` instruction, so LLVM
no longer panics on these intrinsics.

Although there aren't a ton of tests in-repo for this right now I've
tested locally and all of these fences generate `atomic.fence`
instructions in wasm.

Closes #65687
Closes #72997
2020-06-12 00:05:27 +02:00
..
bootstrap Rollup merge of #73097 - Mark-Simulacrum:clippy-fail, r=oli-obk 2020-06-11 19:04:12 +02:00
build_helper
ci Fix emcc failure for wasm32. 2020-06-10 06:23:06 -07:00
doc Rollup merge of #73230 - Amanieu:asm-unused2, r=petrochenkov 2020-06-11 19:04:20 +02:00
etc
liballoc Rename some identifiers in RawVec and libarena. 2020-06-09 07:55:35 +10:00
libcore Rollup merge of #73036 - alexcrichton:update-wasm-fence, r=Mark-Simulacrum 2020-06-12 00:05:27 +02:00
libpanic_abort Bump bootstrap compiler 2020-04-25 09:25:33 -04:00
libpanic_unwind Bump to 1.46 2020-06-03 15:27:51 -04:00
libproc_macro Add test for proc_macro::LineColumn 2020-05-21 17:15:13 -07:00
libprofiler_builtins
librustc_apfloat
librustc_arena Rename some identifiers in RawVec and libarena. 2020-06-09 07:55:35 +10:00
librustc_ast Rollup merge of #73182 - Aaron1011:feature/call-fn-span, r=matthewjasper 2020-06-11 19:04:16 +02:00
librustc_ast_lowering Rollup merge of #73182 - Aaron1011:feature/call-fn-span, r=matthewjasper 2020-06-11 19:04:16 +02:00
librustc_ast_passes Disallow forbidden usage of non-ascii identifiers. 2020-05-17 01:31:18 +08:00
librustc_ast_pretty Rollup merge of #73182 - Aaron1011:feature/call-fn-span, r=matthewjasper 2020-06-11 19:04:16 +02:00
librustc_attr Make things build again 2020-06-02 20:38:24 +03:00
librustc_builtin_macros Rollup merge of #73230 - Amanieu:asm-unused2, r=petrochenkov 2020-06-11 19:04:20 +02:00
librustc_codegen_llvm Handle assembler warnings properly 2020-06-09 15:01:02 +01:00
librustc_codegen_ssa Rollup merge of #73033 - Amanieu:asm-tls, r=oli-obk 2020-06-12 00:05:19 +02:00
librustc_data_structures Rename the crates in source code 2020-06-02 20:42:54 +03:00
librustc_driver Auto merge of #72927 - petrochenkov:rustc, r=Mark-Simulacrum 2020-06-06 09:00:51 +00:00
librustc_error_codes Rollup merge of #73207 - GuillaumeGomez:cleanup-e0648, r=Dylan-DPC 2020-06-11 19:04:18 +02:00
librustc_errors Rollup merge of #73169 - Amanieu:asm-warnings, r=petrochenkov 2020-06-11 19:04:14 +02:00
librustc_expand Track span of function in method calls, and use this in #[track_caller] 2020-06-10 17:30:11 -04:00
librustc_feature Rollup merge of #71862 - LeSeulArtichaut:unsafe-block-in-unsafe-fn, r=nikomatsakis 2020-05-29 21:58:25 +02:00
librustc_fs_util
librustc_graphviz Rename the crates in source code 2020-06-02 20:42:54 +03:00
librustc_hir Track span of function in method calls, and use this in #[track_caller] 2020-06-10 17:30:11 -04:00
librustc_hir_pretty Rollup merge of #73182 - Aaron1011:feature/call-fn-span, r=matthewjasper 2020-06-11 19:04:16 +02:00
librustc_incremental Rename the crates in source code 2020-06-02 20:42:54 +03:00
librustc_index Make things build again 2020-06-02 20:38:24 +03:00
librustc_infer Rollup merge of #73182 - Aaron1011:feature/call-fn-span, r=matthewjasper 2020-06-11 19:04:16 +02:00
librustc_interface Show SyntaxContext in formatted Span debug output 2020-06-08 21:47:33 -04:00
librustc_lexer Fix more clippy warnings 2020-06-09 18:51:08 +02:00
librustc_lint Rollup merge of #73182 - Aaron1011:feature/call-fn-span, r=matthewjasper 2020-06-11 19:04:16 +02:00
librustc_llvm Don't skip building LLVM if already built 2020-05-02 18:43:55 -04:00
librustc_macros Add descriptions for all queries 2020-05-31 20:15:32 +01:00
librustc_metadata Use LocalDefId directly in Resolver::export_map and module_exports query 2020-06-07 21:15:57 +01:00
librustc_middle Rollup merge of #73033 - Amanieu:asm-tls, r=oli-obk 2020-06-12 00:05:19 +02:00
librustc_mir Rollup merge of #73033 - Amanieu:asm-tls, r=oli-obk 2020-06-12 00:05:19 +02:00
librustc_mir_build Rollup merge of #73033 - Amanieu:asm-tls, r=oli-obk 2020-06-12 00:05:19 +02:00
librustc_parse Rollup merge of #73182 - Aaron1011:feature/call-fn-span, r=matthewjasper 2020-06-11 19:04:16 +02:00
librustc_parse_format Make things build again 2020-06-02 20:38:24 +03:00
librustc_passes Rollup merge of #73182 - Aaron1011:feature/call-fn-span, r=matthewjasper 2020-06-11 19:04:16 +02:00
librustc_plugin_impl Remove ast::{Ident, Name} reexports. 2020-05-08 13:13:15 +02:00
librustc_privacy Track span of function in method calls, and use this in #[track_caller] 2020-06-10 17:30:11 -04:00
librustc_query_system Rename the crates in source code 2020-06-02 20:42:54 +03:00
librustc_resolve Rollup merge of #73182 - Aaron1011:feature/call-fn-span, r=matthewjasper 2020-06-11 19:04:16 +02:00
librustc_save_analysis Rollup merge of #73182 - Aaron1011:feature/call-fn-span, r=matthewjasper 2020-06-11 19:04:16 +02:00
librustc_serialize Update fulldeps tests and clippy 2020-06-03 00:18:57 +03:00
librustc_session Handle assembler warnings properly 2020-06-09 15:01:02 +01:00
librustc_span Show SyntaxContext in formatted Span debug output 2020-06-08 21:47:33 -04:00
librustc_symbol_mangling iterate List by value 2020-05-23 12:24:19 +02:00
librustc_target Reoder order in which MinGW libs are linked 2020-06-09 23:58:39 +02:00
librustc_trait_selection Rollup merge of #73005 - Aaron1011:fix/error-overflow, r=estebank 2020-06-10 11:03:43 +02:00
librustc_traits change WellFormed predicate to GenericArg 2020-06-02 15:02:36 +02:00
librustc_ty Auto merge of #72114 - anyska:vtable-rename, r=nikomatsakis 2020-06-09 09:14:49 +00:00
librustc_typeck Rollup merge of #73182 - Aaron1011:feature/call-fn-span, r=matthewjasper 2020-06-11 19:04:16 +02:00
librustdoc Rollup merge of #72180 - euclio:rustdoc-test-extra-space, r=Dylan-DPC 2020-06-11 19:04:08 +02:00
libstd Auto merge of #72655 - jethrogb:sgx-lvi-hardening, r=petrochenkov 2020-06-08 20:10:07 +00:00
libterm Replace filter_map().next() calls with find_map() 2020-04-24 20:03:45 -07:00
libtest typo: awailable -> available 2020-06-08 13:37:58 -07:00
libunwind Make libunwind build hermetic 2020-05-29 11:34:41 -07:00
llvm-project@02e0d7fa55 Update LLVM submodule to include lld NOLOAD fix 2020-06-05 11:36:45 -07:00
rtstartup
rustc
rustllvm Handle assembler warnings properly 2020-06-09 15:01:02 +01:00
stdarch@45340c0e2f Update stdarch submodule to latest head 2020-05-31 00:12:59 +02:00
test Rollup merge of #73033 - Amanieu:asm-tls, r=oli-obk 2020-06-12 00:05:19 +02:00
tools Rollup merge of #73182 - Aaron1011:feature/call-fn-span, r=matthewjasper 2020-06-11 19:04:16 +02:00
README.md
stage0.txt Bump to 1.46 2020-06-03 15:27:51 -04: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 dev guide.