rust/compiler/rustc_span/src
Samuel Tardieu ac7f423d52
Rollup merge of #145840 - a4lg:riscv-elf-flags-for-internal-objs, r=WaffleLapkin
rustc_codegen_ssa: More comprehensive RISC-V ELF flags

This change implements more conformant, more comprehensive RISC-V ELF flags handling when generating certain object files directly from rustc.

*   Use `"zca"` instead of `"c"`
    The "Zca" extension (a subset of "C") is the minimal configuration for compressed instructions to set `EF_RISCV_RVC` flag.
*   Set TSO flag from `"ztso"`
    The "Ztso" extension denotes that the program depends on the RVTSO (Total Store Ordering) memory consistency model, which is stronger than the standard RVWMO (Weak Memory Ordering) consistency model and on ELF targets, we need to set `EF_RISCV_TSO` flag.
2025-08-26 23:25:02 +02:00
..
analyze_source_file Be more accurate about calculating display_col from a BytePos 2024-07-18 20:08:38 +00:00
edit_distance update cfg(bootstrap) 2025-01-08 21:26:39 +01:00
source_map Take into-account -Zremap-path-scope when embedding filenames 2025-05-05 19:45:34 +02:00
symbol Introduce ByteSymbol. 2025-06-30 20:42:27 +10:00
analyze_source_file.rs Update cfg(bootstrap) 2025-07-01 10:55:49 -07:00
caching_source_map_view.rs Simplify span_data_to_lines_and_cols. 2025-08-16 16:23:21 +00:00
def_id.rs Hash less while hashing def-ids. 2025-06-22 20:29:39 +00:00
edit_distance.rs use div_ceil instead of manual logic 2025-07-05 10:55:42 +02:00
edition.rs Unify the format of rustc cli flags 2025-04-24 12:54:40 +08:00
fatal_error.rs Auto merge of #117557 - Zoxc:panic-prio, r=petrochenkov 2023-11-09 00:39:02 +00:00
hygiene.rs Rollup merge of #144478 - joshtriplett:doc-code-formatting-prep, r=Amanieu 2025-08-02 11:24:24 +02:00
lib.rs Introduce ModernIdent type to unify macro 2.0 hygiene handling 2025-08-06 21:19:09 +08:00
profiling.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
source_map.rs Do not open every source file twice when reading it 2025-08-25 20:40:11 +02:00
span_encoding.rs Fix doc-comment. 2025-08-10 23:01:45 +00:00
symbol.rs rustc_codegen_ssa: More comprehensive RISC-V ELF flags 2025-08-26 03:42:37 +00:00
tests.rs add unstable support for outputting file checksums for use in cargo 2024-10-01 21:23:20 -06:00