about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/debug.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-10-15 16:50:00 +0000
committerbors <bors@rust-lang.org>2020-10-15 16:50:00 +0000
commitb5c9e2448c9ace53ad5c11585803894651b18b0a (patch)
tree4876de40a556b42fde438e5b2295c405eda7e11b /compiler/rustc_mir/src/transform/coverage/debug.rs
parent7f587168102498a488abf608a86c7fdfa62fb7bb (diff)
parentd683e3ac23a8f8b52cef07b4380845bbd1ef5e8f (diff)
downloadrust-b5c9e2448c9ace53ad5c11585803894651b18b0a.tar.gz
rust-b5c9e2448c9ace53ad5c11585803894651b18b0a.zip
Auto merge of #77943 - est31:target_refactor, r=petrochenkov
No more target.target

Two main changes of this PR:

* Turn `target_pointer_width` into an integer and rename to `pointer_width`.
  The compiler only allowed three valid values for the width anyways.
  An integer is more natural for this value, and saves a few allocations
  and copies.
* Remove the `rustc_session::config::Config` wrapper and replace it with
  its inner member `Target`. Aka. no more `target.target`. This makes life so
  much easier, but it also causes a ton of downstream breakage.

Some changes of this PR were done using tooling. These tooling-made changes
were isolated to their own commits to make review easier.
It's best to review the PR commit-by-commit.

Miri PR: https://github.com/rust-lang/miri/pull/1583

I request p=10 bors priority because of the breakage.
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions