mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 06:43:20 +03:00
8866449c66
On ELF, the text section is opened with ".text", on MachO with ".section __TEXT,__text". Previously, on ELF this test was actually matching a GNU note section, which is no longer emitted on Solaris starting with LLVM 18. Fixes https://github.com/rust-lang/rust/issues/120105.