rust/compiler/rustc_codegen_ssa/src/back
Matthias Krüger c6662879b2
Rollup merge of #138040 - thaliaarchi:use-prelude-size-of.compiler, r=compiler-errors
compiler: Use `size_of` from the prelude instead of imported

Use `std::mem::{size_of, size_of_val, align_of, align_of_val}` from the prelude instead of importing or qualifying them. Apply this change across the compiler.

These functions were added to all preludes in Rust 1.80.

r? ``@compiler-errors``
2025-03-09 10:34:49 +01:00
..
apple Move versioned LLVM target creation to rustc_codegen_ssa 2024-11-01 17:07:18 +01:00
link Support raw-dylib link kind on ELF 2025-02-26 19:09:51 +01:00
linker Rustfmt 2025-02-08 22:12:13 +00:00
rpath Support rpath with -Clinker-flavor=ld 2024-11-24 01:20:29 +01:00
apple.rs Make #[used] work when linking with ld64 2025-02-24 04:04:59 +01:00
archive.rs Rustfmt 2025-02-08 22:12:13 +00:00
command.rs Shorten linker output even more when --verbose is not present 2025-01-25 16:04:52 -05:00
link.rs Rollup merge of #138040 - thaliaarchi:use-prelude-size-of.compiler, r=compiler-errors 2025-03-09 10:34:49 +01:00
linker.rs Rollup merge of #137337 - dalvescb:master, r=petrochenkov 2025-03-07 21:57:47 -05:00
lto.rs Make CodegenCx and Builder generic 2025-01-24 16:05:26 -05:00
metadata.rs Auto merge of #135695 - Noratrieb:elf-raw-dylib, r=bjorn3 2025-03-04 15:39:44 +00:00
mod.rs Move versioned LLVM target creation to rustc_codegen_ssa 2024-11-01 17:07:18 +01:00
rpath.rs Support rpath with -Clinker-flavor=ld 2024-11-24 01:20:29 +01:00
symbol_export.rs Fix binding mode problems 2025-02-22 00:13:19 +00:00
write.rs Rollup merge of #137549 - oli-obk:llvm-ffi, r=davidtwco 2025-03-07 19:15:34 +01:00