// Note that we never mutate argv/argc, the argv array, or the argv
// strings, which allows the code in this file to be very simple.

rust might not but im built different

online: No One Reads Assembly Anymore And As Long As The Prompt Gets You The Right Behavior You Should Ship It
me: there are exactly two bytes different between these builds and i am very irritated about it https://rust.godbolt.org/z/zsMKjnz1G
Compiler Explorer - Rust

use std::ffi::OsString; #[unsafe(no_mangle)] pub fn args() { let _ = std::env::current_exe(); }

@iximeow i like you're still going on and on about plt, gotpcrelx, and the lack of the latter, and i'm rooting for you
@dramforever this time it wasn't even perf, i wanted to go patch rust's stashed argc/argv and got really confused at why there was an indirect call on the way to it!!
@iximeow none of this was ever about perf. it's about honor.