about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/debug.rs
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2022-05-22 11:53:06 +0900
committerGitHub <noreply@github.com>2022-05-22 11:53:06 +0900
commitc7c5980e900bb8321a33f86b0bf70b5280780c98 (patch)
tree1ad3dce6a8347bd0a6a81720987f0abcccb002ef /compiler/rustc_mir_transform/src/coverage/debug.rs
parentd22ebf0d1346f7d36e15882c23871a8f9ff60eb9 (diff)
parent88126034a41916e24c027af98606af768df5b5a4 (diff)
downloadrust-c7c5980e900bb8321a33f86b0bf70b5280780c98.tar.gz
rust-c7c5980e900bb8321a33f86b0bf70b5280780c98.zip
Rollup merge of #97228 - jonhoo:patch-1, r=bjorn3
Omit stdarch workspace from rust-src

The path `library/stdarch/crates/Cargo.toml` does not exist.

In Rust 1.61.0, `rust-src` still includes `src/rust/library/stdarch/Cargo.toml` (but not `stdarch-verify`), which includes
```toml
[workspace]
members = [
  "crates/stdarch-verify"
```

This didn't show up when testing with `-Zbuild-std` in https://github.com/rust-lang/rust/pull/94907 since the [standard list of crates](https://github.com/rust-lang/cargo/blob/f624095e1c98228a74a165ddb702078c0dd8b81e/src/cargo/core/compiler/standard_lib.rs#L26-L30) to include when building `std` does not include `stdarch`, but it will show up if a user explicitly requests `stdarch`. Or, perhaps more importantly, because of https://github.com/rust-lang/rust/issues/95736, many editors (like IntelliJ) won't treat the root of `rust-src` as a workspace, and will instead recurse into all the sub-crates directly, which then includes `stdarch`.

Also related to https://github.com/rust-lang/rust/issues/94906.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions