rust/compiler
Tyson Nottingham d061fee177 Stable hashing: add comments and tests concerning platform-independence
SipHasher128 implements short_write in an endian-independent way, yet
its write_xxx Hasher trait methods undo this endian-independence by byte
swapping the integer inputs on big-endian hardware. StableHasher then
adds endian-independence back by also byte-swapping on big-endian
hardware prior to invoking SipHasher128.

This double swap may have the appearance of being a no-op, but is in
fact by design. In particular, we really do want SipHasher128 to be
platform-dependent, in order to be consistent with the libstd SipHasher.
Try to clarify this intent. Also, add and update a couple of unit tests.
2020-09-30 00:57:35 -07:00
..
rustc
rustc_apfloat /nightly/nightly-rustc 2020-09-23 21:51:56 +02:00
rustc_arena Remove unused #[allow(...)] statements from compiler/ 2020-09-26 01:25:55 +02:00
rustc_ast tidy 2020-09-23 22:08:30 +02:00
rustc_ast_lowering
rustc_ast_passes
rustc_ast_pretty
rustc_attr Remove rustc_allow_const_fn_ptr 2020-09-27 10:46:41 -07:00
rustc_builtin_macros Auto merge of #76485 - estebank:format_arg_capture_spans, r=davidtwco 2020-09-26 10:05:49 +00:00
rustc_codegen_llvm Rollup merge of #76839 - lzutao:mips-asm, r=Amanieu 2020-09-27 18:37:20 +02:00
rustc_codegen_ssa Rollup merge of #77208 - mati865:late-link-args-order, r=petrochenkov 2020-09-27 01:53:23 +02:00
rustc_data_structures Stable hashing: add comments and tests concerning platform-independence 2020-09-30 00:57:35 -07:00
rustc_driver Rollup merge of #76474 - bjorn3:driver_selected_codegen, r=oli-obk 2020-09-28 18:39:40 +02:00
rustc_error_codes Rollup merge of #76973 - lzutao:unstably-const-assume, r=oli-obk 2020-09-25 19:42:29 +02:00
rustc_errors /nightly/nightly-rustc 2020-09-23 21:51:56 +02:00
rustc_expand
rustc_feature Remove rustc_allow_const_fn_ptr 2020-09-27 10:46:41 -07:00
rustc_fs_util
rustc_graphviz /nightly/nightly-rustc 2020-09-23 21:51:56 +02:00
rustc_hir Auto merge of #76955 - jyn514:refactor-diagnostics, r=euclio 2020-09-27 08:12:29 +00:00
rustc_hir_pretty
rustc_incremental /nightly/nightly-rustc 2020-09-23 21:51:56 +02:00
rustc_index
rustc_infer Rollup merge of #77211 - est31:remove_unused_allow, r=oli-obk 2020-09-26 12:58:34 +02:00
rustc_interface Add option to pass a custom codegen backend from a driver 2020-09-27 14:16:42 +02:00
rustc_lexer
rustc_lint Separate private_intra_doc_links and broken_intra_doc_links into separate lints 2020-09-27 09:58:29 -04:00
rustc_llvm Remove unused #[allow(...)] statements from compiler/ 2020-09-26 01:25:55 +02:00
rustc_macros Remove unused #[allow(...)] statements from compiler/ 2020-09-26 01:25:55 +02:00
rustc_metadata Auto merge of #77118 - exrook:stability-generic-parameters-2, r=varkor 2020-09-27 12:51:21 +00:00
rustc_middle Rollup merge of #77170 - ecstatic-morse:const-fn-ptr, r=oli-obk 2020-09-28 18:39:44 +02:00
rustc_mir Auto merge of #77302 - RalfJung:rollup-n8gg3v6, r=RalfJung 2020-09-28 18:02:45 +00:00
rustc_mir_build Auto merge of #70743 - oli-obk:eager_const_to_pat_conversion, r=eddyb 2020-09-26 06:44:28 +00:00
rustc_parse pretty-print-reparse hack: Remove an impossible case 2020-09-26 20:27:14 +03:00
rustc_parse_format /nightly/nightly-rustc 2020-09-23 21:51:56 +02:00
rustc_passes Auto merge of #77229 - tmiasko:liveness, r=lcnr 2020-09-27 19:38:01 +00:00
rustc_plugin_impl /nightly/nightly-rustc 2020-09-23 21:51:56 +02:00
rustc_privacy /nightly/nightly-rustc 2020-09-23 21:51:56 +02:00
rustc_query_system
rustc_resolve /nightly/nightly-rustc 2020-09-23 21:51:56 +02:00
rustc_save_analysis /nightly/nightly-rustc 2020-09-23 21:51:56 +02:00
rustc_serialize Deduplicate and generalize some (de/)serializer impls 2020-09-26 14:55:42 +02:00
rustc_session [mir-opt] Introduce a new flag to enable experimental/unsound mir opts 2020-09-27 19:21:01 -04:00
rustc_span Rollup merge of #77170 - ecstatic-morse:const-fn-ptr, r=oli-obk 2020-09-28 18:39:44 +02:00
rustc_symbol_mangling Implement Display for DisambiguatedDefPathData and DefPathData 2020-09-25 22:46:15 +01:00
rustc_target Rollup merge of #76839 - lzutao:mips-asm, r=Amanieu 2020-09-27 18:37:20 +02:00
rustc_trait_selection Rollup merge of #77211 - est31:remove_unused_allow, r=oli-obk 2020-09-26 12:58:34 +02:00
rustc_traits Update chalk to 0.29.0 2020-09-27 15:54:07 +02:00
rustc_ty Rollup merge of #77155 - lcnr:ImplSource, r=ecstatic-morse 2020-09-25 19:42:48 +02:00
rustc_typeck Rollup merge of #76711 - davidtwco:issue-51154-param-closure, r=estebank 2020-09-28 18:39:42 +02:00