about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/graph.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-01-06 21:51:45 -0500
committerGitHub <noreply@github.com>2024-01-06 21:51:45 -0500
commit20f22ba2ed23af7e4f4f3bcf7f9f5a17d0cb3028 (patch)
tree41c55aa6c857b653b5b15297099824fe89c0fc7b /compiler/rustc_mir_transform/src/coverage/graph.rs
parentb8e1a3443bf3c1293969a657c22c580d728e93ec (diff)
parent15bb29ecf53e97ab757bb3515fc5d209172b7851 (diff)
downloadrust-20f22ba2ed23af7e4f4f3bcf7f9f5a17d0cb3028.tar.gz
rust-20f22ba2ed23af7e4f4f3bcf7f9f5a17d0cb3028.zip
Rollup merge of #119548 - onur-ozkan:remove-nested-target-iteration, r=Mark-Simulacrum
Use the current target instead of iterating over all targets

Since we already iterate through targets in StepDescription::maybe_run, there is no need to iterate targets again in the install step for std.

Compared the results before and after applying the changes to install step of std, and there were no differences.

```sh

  ~/devspace/.other/rustc-builds  $ sha256sum ./old/usr/local/lib/rustlib/manifest-rust-std-x86_64-*
c2ea86fc25ffac87b0b135f31ba9644ad97549da4c050c3921b437d1e18285fd  ./old/usr/local/lib/rustlib/manifest-rust-std-x86_64-pc-windows-gnu
d2f1081a779962e2cbc27f53191783d13428abd0964465547af78ce34c7251dd  ./old/usr/local/lib/rustlib/manifest-rust-std-x86_64-unknown-linux-gnu

  ~/devspace/.other/rustc-builds  $ sha256sum ./new/usr/local/lib/rustlib/manifest-rust-std-x86_64-*
c2ea86fc25ffac87b0b135f31ba9644ad97549da4c050c3921b437d1e18285fd  ./new/usr/local/lib/rustlib/manifest-rust-std-x86_64-pc-windows-gnu
d2f1081a779962e2cbc27f53191783d13428abd0964465547af78ce34c7251dd  ./new/usr/local/lib/rustlib/manifest-rust-std-x86_64-unknown-linux-gnu

```

Fixes #119533
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/graph.rs')
0 files changed, 0 insertions, 0 deletions