rust/src
Alex Crichton 05b2d3f7dc 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 #72997
2020-06-05 10:14:53 -07:00
..
bootstrap Auto merge of #72672 - seritools:remote-test-windows, r=Mark-Simulacrum 2020-06-02 07:54:38 +00:00
build_helper
ci Enable lld for Cargo tests on Windows. 2020-06-04 14:32:23 -07:00
doc Updated documentation for Control Flow Guard 2020-06-03 14:31:08 +01:00
etc
liballoc Add more assert to Vec with_capacity docs 2020-06-05 01:11:01 +08:00
libarena Be less aggressive with DroplessArena/TypedArena growth. 2020-05-13 11:35:32 +10:00
libcore std: Enable atomic.fence emission on wasm32 2020-06-05 10:14:53 -07:00
libfmt_macros Improve inline asm error diagnostics 2020-05-29 17:05:35 +01:00
libgraphviz
libpanic_abort
libpanic_unwind make abort intrinsic safe, and correct its documentation 2020-05-17 11:23:42 +02:00
libproc_macro Add test for proc_macro::LineColumn 2020-05-21 17:15:13 -07:00
libprofiler_builtins
librustc_apfloat
librustc_ast Rollup merge of #72625 - Amanieu:asm-srcloc, r=petrochenkov 2020-05-30 23:08:44 +02:00
librustc_ast_lowering Rollup merge of #72625 - Amanieu:asm-srcloc, r=petrochenkov 2020-05-30 23:08:44 +02:00
librustc_ast_passes Disallow forbidden usage of non-ascii identifiers. 2020-05-17 01:31:18 +08:00
librustc_ast_pretty Move InlineAsmTemplatePiece and InlineAsmOptions to librustc_ast 2020-05-18 14:41:33 +01:00
librustc_attr Fix clippy warnings 2020-05-11 17:13:32 +02:00
librustc_builtin_macros Clarify errors and warnings about the transition to the new asm! 2020-05-31 18:25:05 +01:00
librustc_codegen_llvm Auto merge of #71192 - oli-obk:eager_alloc_id_canonicalization, r=wesleywiser 2020-06-01 11:44:51 +00:00
librustc_codegen_ssa rustc_target: Remove pre_link_args_crt 2020-06-03 19:51:42 +03:00
librustc_data_structures Add Extend::{extend_one,extend_reserve} 2020-05-29 17:05:17 -07:00
librustc_driver save_analysis: work on HIR tree instead of AST 2020-06-04 08:31:41 +01:00
librustc_error_codes clean up E0641 explanation 2020-06-03 13:52:09 +02:00
librustc_errors Fix spacing of expected/found notes without a label 2020-05-27 16:27:15 -07:00
librustc_expand Auto merge of #72767 - pnkfelix:track-devirtualized-filenames-issue-70924, r=eddyb 2020-05-31 17:14:44 +00: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_hir Rollup merge of #72715 - estebank:trailing-comma-where, r=petrochenkov 2020-05-31 12:03:24 +02:00
librustc_hir_pretty save_analysis: work on HIR tree instead of AST 2020-06-04 08:31:41 +01:00
librustc_incremental Change WorkProduct::saved_files to an Option. 2020-05-12 17:55:07 +10:00
librustc_index Add Extend::{extend_one,extend_reserve} 2020-05-29 17:05:17 -07:00
librustc_infer change WellFormed predicate to GenericArg 2020-06-02 15:02:36 +02:00
librustc_interface Auto merge of #72618 - Aaron1011:feature/early-sourcemap, r=petrochenkov 2020-06-04 04:38:48 +00:00
librustc_lexer Simplify raw string error reporting. 2020-06-01 22:01:19 +02:00
librustc_lint change WellFormed predicate to GenericArg 2020-06-02 15:02:36 +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 Don't count pathless --extern options for unused-crate-dependencies warnings 2020-06-01 16:29:25 -07:00
librustc_middle Rollup merge of #72950 - lcnr:fix_doc, r=davidtwco 2020-06-04 12:12:49 +02:00
librustc_mir Auto merge of #70107 - lcnr:issue68977, r=eddyb 2020-06-03 08:43:11 +00:00
librustc_mir_build Auto merge of #71192 - oli-obk:eager_alloc_id_canonicalization, r=wesleywiser 2020-06-01 11:44:51 +00:00
librustc_parse Cleanup: Inline struct_span_fatal(), which is only called once, and remove an outdated FIXME. 2020-06-01 22:01:30 +02:00
librustc_passes liveness: Warn about unused captured variables 2020-05-29 17:46:38 +02:00
librustc_plugin_impl Remove ast::{Ident, Name} reexports. 2020-05-08 13:13:15 +02:00
librustc_privacy iterate List by value 2020-05-23 12:24:19 +02:00
librustc_query_system Add descriptions for all queries 2020-05-31 20:15:32 +01:00
librustc_resolve Fix a typo in late.rs 2020-06-03 08:38:10 +02:00
librustc_save_analysis save_analysis: work on HIR tree instead of AST 2020-06-04 08:31:41 +01:00
librustc_session Rollup merge of #72669 - petrochenkov:smclean, r=Mark-Simulacrum 2020-05-30 23:08:55 +02:00
librustc_span Auto merge of #72618 - Aaron1011:feature/early-sourcemap, r=petrochenkov 2020-06-04 04:38:48 +00:00
librustc_symbol_mangling iterate List by value 2020-05-23 12:24:19 +02:00
librustc_target rustc_target: Remove pre_link_args_crt 2020-06-03 19:51:42 +03:00
librustc_trait_selection Rollup merge of #72946 - lcnr:remove-fixme, r=Dylan-DPC 2020-06-04 21:31:12 +02:00
librustc_traits change WellFormed predicate to GenericArg 2020-06-02 15:02:36 +02:00
librustc_ty standardize limit comparisons with Limit type 2020-05-28 10:33:07 +01:00
librustc_typeck Auto merge of #70107 - lcnr:issue68977, r=eddyb 2020-06-03 08:43:11 +00:00
librustdoc change WellFormed predicate to GenericArg 2020-06-02 15:02:36 +02:00
libserialize linker: More systematic handling of CRT objects 2020-05-14 10:45:11 +03:00
libstd Hexagon libstd: fix typo for c_ulonglong 2020-06-03 22:47:48 -05:00
libterm
libtest Fix clippy warnings 2020-05-11 17:13:32 +02:00
libunwind Make libunwind build hermetic 2020-05-29 11:34:41 -07:00
llvm-project@943dbddc8e Update LLVM submodule 2020-05-20 20:14:16 +02:00
rtstartup
rustc
rustllvm Improve inline asm error diagnostics 2020-05-29 17:05:35 +01:00
stdarch@45340c0e2f Update stdarch submodule to latest head 2020-05-31 00:12:59 +02:00
test Rollup merge of #72923 - Patryk27:fix/52468, r=estebank 2020-06-04 12:12:47 +02:00
tools Auto merge of #72901 - ehuss:update-cargo, r=Mark-Simulacrum 2020-06-04 23:17:05 +00:00
README.md
stage0.txt

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.