$ the-wire · showcase
cc-rs 1.9.0 passes AddressSanitizer to C, and fixes flag ordering
By RepoJournal · Filed · About Rust · Composed from the cited sources · methodology
cc-rs shipped 1.9.0 with AddressSanitizer propagation into C compilation and corrected flag ordering, while rustc's rollups stabilized -Zembed-metadata and dropped a Body refactor that bought no performance.
cc-v1.9.0 rust-lang/cc-rs
by github-actions[bot]
AddressSanitizer now reaches the C compiler: build scripts emitted with CARGO_CFG_SANITIZE=address cause cc to pass -fsanitize=address onward, so C code in a sanitized Rust build is instrumented too. The release also adds --source-root for stable external object names, emits rerun-if-env-changed for the compiler's own env vars, and can collect compile commands into a compile_commands.json.
fix: keep the order of flag and flag_if_supported rust-lang/cc-rs
flag_if_supported used to append probed flags after every unconditional flag; both now share one ordered list, so .flag_if_supported("-xc").flag("-xc++") produces the command line in call order and a later flag can override an earlier probed one. The support probe is unchanged.
Auto merge of #164593 - JonathanBrouwer:rollup-mHQ1qcD, r=JonathanBrouwer rust-lang/rust
The six-PR rollup stabilizes -Zembed-metadata, teaches Miri the real Apple thread parking implementation, and adds a fallback for -static-pie when CRT objects are missing. A linux thread_atexit fix for __dso_handle handling rides along.
Auto merge of #164609 - tgross35:rollup-oDWHXH1, r=tgross35 rust-lang/rust
is_global on Ipv4Addr and Ipv6Addr now matches the IANA registries, so address classification can change for ranges the old table got wrong. The rollup also excludes MaybeDangling-like types from SROA, and rustdoc now always shows the Dyn Compatibility heading.
Rollup merge of #164581 - JonathanBrouwer:revert-indirect, r=Kivooeo rust-lang/rust
Removing the indirection for Expr in Body is reverted: no perf gain, a broken input-stats test, and a preferred alternative discussed upstream. Compiler-internal only; nothing changes for downstream code.