]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #71490 - petrochenkov:passcheck2, r=davidtwco
authorDylan DPC <dylan.dpc@gmail.com>
Sun, 26 Apr 2020 11:42:29 +0000 (13:42 +0200)
committerGitHub <noreply@github.com>
Sun, 26 Apr 2020 11:42:29 +0000 (13:42 +0200)
commit96c1bb571abd77fcb706d7cdb4a0823a471767c2
tree12440be847fa3007e0910cc30df384a75fb34293
parentec1f28f9614292c36b371d3758afffdd52cb9786
parent45fbe8f21c959bfe52b3b94b1ad775e9fbab529e
Rollup merge of #71490 - petrochenkov:passcheck2, r=davidtwco

Cleanup and document `-C relocation-model`

As the title says, this is mostly a refactoring and documentation.

One potentially observable change here is that `-C relocation-model=default` now takes the default from the Rust target, rather than from the underlying LLVM target. In other words, `-C relocation-model=default` is now equivalent to not specifying the relocation model on command line at all.
Apparently no one used that option because it has other bugs as well, e.g. PIC `default` wasn't treated as PIC in some places.