Rustaceans at the border
Rustaceans at the border
Posted Apr 15, 2022 23:46 UTC (Fri) by Hello71 (guest, #103412)In reply to: Rustaceans at the border by tialaramex
Parent article: Rustaceans at the border
> When C was invented such things would be too heavy, but today Rust's compiler and linker are certainly smart enough that if you never actually perform sort_unstable the code to implement it is omitted from your binary
afaik, unix linkers have pruned unnecessary object files from the final link for basically as long as unix has existed. this is the origin of needing to specify -l flags in dependency order. this doesn't help with dynamic linking, but rust has no magic pixie dust there either.
