Vadim Petrochenkov
Vadim Petrochenkov
Fixed an access to unsynchronized json fields in `LinkerFlavor::from_cli`. @bors r=lqd
@yuriks No, the breakage is not intentional, this PR was supposed to keep backward compatibility with old target specs, I'll check what happens.
@yuriks Fixed in https://github.com/rust-lang/rust/pull/102836.
@bors r+ squash rollup=never
>The job dist-various-1 failed! Looks like missing `// ignore-cross-compile`. @rustbot author
@bors r+ squash-
`linker.rs` doesn't currently add `:` correctly for `verbatim` modifiers, it should only add it to `sess.target.linker_is_gnu` linkers, other linkers (like macos linker from the CI failure) don't support it.
@bors r+ squash
Nominated for the compiler team.
I'm personally `-0` on this, let it bake in clippy. But if it's uplifted, then it should be uplifted as is, without changes compared to the clippy version.