rust/compiler
Dylan DPC eaaf5d7e38
Rollup merge of #76965 - fusion-engineering-forks:fix-atomic-from-mut, r=Amanieu
Add cfg(target_has_atomic_equal_alignment) and use it for Atomic::from_mut.

Fixes some platform-specific problems with #74532 by using the actual alignment of the types instead of hardcoding a few `target_arch`s.

r? @RalfJung
2020-09-23 14:54:04 +02:00
..
rustc
rustc_apfloat
rustc_arena Rollup merge of #76821 - est31:remove_redundant_nightly_features, r=oli-obk,Mark-Simulacrum 2020-09-20 12:08:22 +02:00
rustc_ast Add #![feature(const_fn_transmute)] to rustc_ast 2020-09-22 10:22:21 -07:00
rustc_ast_lowering simplfy condition in ItemLowerer::with_trait_impl_ref() 2020-09-16 23:09:57 +02:00
rustc_ast_passes use matches!() macro for simple if let conditions 2020-09-18 20:28:35 +02:00
rustc_ast_pretty
rustc_attr use matches!() macro for simple if let conditions 2020-09-18 20:28:35 +02:00
rustc_builtin_macros use matches!() macro for simple if let conditions 2020-09-18 20:28:35 +02:00
rustc_codegen_llvm Rollup merge of #76962 - est31:const_cstr, r=oli-obk 2020-09-21 10:40:45 +02:00
rustc_codegen_ssa Rollup merge of #76872 - khyperia:remove_declare_methods, r=eddyb 2020-09-21 10:40:35 +02:00
rustc_data_structures Auto merge of #76928 - lcnr:opaque-types-cache, r=tmandry 2020-09-22 22:52:07 +00:00
rustc_driver use strip_prefix over starts_with and manual slicing based on pattern length (clippy::manual_strip) 2020-09-17 10:13:16 +02:00
rustc_error_codes Add explanation for E0756 2020-09-21 21:04:56 +02:00
rustc_errors Rollup merge of #76846 - botika:master, r=davidtwco 2020-09-21 10:40:30 +02:00
rustc_expand Remove redundant #![feature(...)] 's from compiler/ 2020-09-17 07:58:45 +02:00
rustc_feature Add cfg(target_has_atomic_equal_alignment). 2020-09-21 20:42:25 +02:00
rustc_fs_util
rustc_graphviz Make graphviz font configurable 2020-09-16 08:10:06 -07:00
rustc_hir
rustc_hir_pretty
rustc_incremental
rustc_index cache types during normalization 2020-09-19 17:27:13 +02:00
rustc_infer Auto merge of #76928 - lcnr:opaque-types-cache, r=tmandry 2020-09-22 22:52:07 +00:00
rustc_interface PR feedback 2020-09-17 12:18:09 +02:00
rustc_lexer Fix typo in rustc_lexer docs 2020-09-21 05:43:39 +02:00
rustc_lint Rollup merge of #77032 - lcnr:visit-all-the-item-likes, r=davidtwco 2020-09-21 20:41:01 -07:00
rustc_llvm Update cc crate to understand aarch64-apple-darwin with clang 2020-09-18 09:22:07 -04:00
rustc_macros
rustc_metadata Rollup merge of #76939 - lcnr:const-evaluatable-cont, r=oli-obk 2020-09-23 14:54:02 +02:00
rustc_middle Rollup merge of #76939 - lcnr:const-evaluatable-cont, r=oli-obk 2020-09-23 14:54:02 +02:00
rustc_mir Auto merge of #76659 - simonvandel:76432, r=oli-obk 2020-09-23 08:23:00 +00:00
rustc_mir_build Rollup merge of #76890 - matthiaskrgr:matches_simpl, r=lcnr 2020-09-20 15:52:01 +02:00
rustc_parse Rollup merge of #76888 - matthiaskrgr:clippy_single_match_2, r=Dylan-DPC 2020-09-21 20:40:55 -07:00
rustc_parse_format Rollup merge of #76888 - matthiaskrgr:clippy_single_match_2, r=Dylan-DPC 2020-09-21 20:40:55 -07:00
rustc_passes transmute: use diagnostic item 2020-09-19 11:33:11 +02:00
rustc_plugin_impl
rustc_privacy Rollup merge of #76821 - est31:remove_redundant_nightly_features, r=oli-obk,Mark-Simulacrum 2020-09-20 12:08:22 +02:00
rustc_query_system
rustc_resolve Rollup merge of #76888 - matthiaskrgr:clippy_single_match_2, r=Dylan-DPC 2020-09-21 20:40:55 -07:00
rustc_save_analysis
rustc_serialize
rustc_session Don't unwrap but report a fatal error for TargetDataLayout::parse. 2020-09-21 20:43:44 +02:00
rustc_span Rollup merge of #76965 - fusion-engineering-forks:fix-atomic-from-mut, r=Amanieu 2020-09-23 14:54:04 +02:00
rustc_symbol_mangling use if let instead of single match arm expressions to compact code and reduce nesting (clippy::single_match) 2020-09-20 11:42:52 +02:00
rustc_target librustc_target: Address comments 2020-09-14 17:43:06 -07:00
rustc_trait_selection Rollup merge of #76939 - lcnr:const-evaluatable-cont, r=oli-obk 2020-09-23 14:54:02 +02:00
rustc_traits Remove redundant #![feature(...)] 's from compiler/ 2020-09-17 07:58:45 +02:00
rustc_ty Remove redundant #![feature(...)] 's from compiler/ 2020-09-17 07:58:45 +02:00
rustc_typeck Auto merge of #76906 - Nicholas-Baron:shorten_typeck_check, r=oli-obk 2020-09-22 08:11:07 +00:00