rust/compiler/rustc_driver_impl/src
Jubilee Young 8abff35b41 compiler: compare and hash ExternAbi like its string
Directly map each ExternAbi variant to its string and back again.
This has a few advantages:
- By making the ABIs compare equal to their strings, we can easily
  lexicographically sort them and use that sorted slice at runtime.
- We no longer need a workaround to make sure the hashes remain stable,
  as they already naturally are (by being the hashes of unique strings).
- The compiler can carry around less &str wide pointers
2025-02-11 20:18:01 -08:00
..
args.rs Some cleanups around EarlyDiagCtxt 2025-02-02 16:06:43 +00:00
lib.rs compiler: compare and hash ExternAbi like its string 2025-02-11 20:18:01 -08:00
pretty.rs Use a different hir type for patterns in pattern types than we use in match patterns 2025-02-03 08:18:30 +00:00
print.rs Fix ICE on --print=... i/o errors 2023-04-25 08:17:18 -07:00
session_diagnostics.rs unstable feature usage metrics 2024-11-20 11:31:40 -08:00
signal_handler.rs Remove allowing static_mut_refs lint 2024-10-14 16:48:27 +08:00