rust/src
bors 39b7669347 Auto merge of #130220 - RalfJung:float-classify, r=workingjubilee
simplify float::classify logic

I played around with the float-classify test in the hope of triggering x87 bugs by strategically adding `black_box`, and still the exact expression `@beetrees` suggested [here](https://github.com/rust-lang/rust/pull/129835#issuecomment-2325661597) remains the only case I found where we get the wrong result on x87. Curiously, this bug only occurs when MIR optimizations are enabled -- probably the extra inlining that does is required for LLVM to hit the right "bad" case in the backend. But even for that case, it makes no difference whether `classify` is implemented in the simple bit-pattern-based version or the more complicated version we had before.

Without even a single testcase that can distinguish our `classify` from the naive version, I suggest we switch to the naive version.
2024-09-16 03:36:03 +00:00
..
bootstrap add change entry for dist.vendor 2024-09-15 12:24:07 +03:00
ci Rollup merge of #130151 - ChrisDenton:slow-ci, r=Mark-Simulacrum 2024-09-15 23:56:34 +02:00
doc trait_upcasting is not currently an incomplete feature. 2024-09-14 14:46:29 -07:00
etc Remove unused option from x.py 2024-09-07 10:35:23 +05:30
gcc@fd3498bff0 Update GCC version 2024-09-06 16:01:46 +02:00
librustdoc Rename and reorder lots of lifetimes. 2024-09-13 15:46:20 +10:00
llvm-project@4b8d29c585 Update LLVM to 19 327ca6c 2024-09-11 07:59:27 +08:00
rustdoc-json-types rustdoc: normalise type/field names in rustdoc-json-types/jsondoclint 2024-09-01 23:58:08 +03:00
tools Auto merge of #130220 - RalfJung:float-classify, r=workingjubilee 2024-09-16 03:36:03 +00:00
README.md
stage0 bump stage0 2024-09-04 03:13:55 +01:00
version Bump to 1.83 2024-08-30 19:58:04 +01:00

This directory contains some source code for the Rust project, including:

  • The bootstrapping build system
  • Various submodules for tools, like cargo, tidy, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.