Getting information about inlined / not inlined functions

⚓ Rust    📅 2026-02-26    👤 surdeus    👁️ 2      

surdeus

I am looking for options i can add to the Rustflags so that cargo build emits information which functions of my programm are inlined or not and posibly why not.
The output of rustc -vV:
rustc 1.89.0 (29483883e 2025-08-04)
binary: rustc
commit-hash: 29483883eed69d5fb4db01964cdf2af4d86e9cb2
commit-date: 2025-08-04
host: x86_64-unknown-linux-gnu
release: 1.89.0
LLVM version: 20.1.7

4 posts - 3 participants

Read full topic

🏷️ Rust_feed