about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-01-14 13:04:24 +0100
committerGitHub <noreply@github.com>2023-01-14 13:04:24 +0100
commit27db39b1b30fe808ba725d36f4293a3b61a4b029 (patch)
tree4ce41ab85e9dd57667da4aa6a42f337560603a4a /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent47fa7faf764c6e55842eb2da3737dba786a1cccc (diff)
parent1d7d10a93d7a7f3e761a9b1fc6aeeff84d7483ef (diff)
downloadrust-27db39b1b30fe808ba725d36f4293a3b61a4b029.tar.gz
rust-27db39b1b30fe808ba725d36f4293a3b61a4b029.zip
Rollup merge of #106470 - ehuss:tidy-no-wasm, r=Mark-Simulacrum
tidy: Don't include wasm32 in compiler dependency check

This changes the tidy compiler dependency check so that it does not include wasm32-unknown-unknown dependencies in the PERMITTED_RUSTC_DEPENDENCIES. This just helps keep the list cleaner under the assumption that the compiler will never work on wasm32-unknown-unknown.

This also fixes a bug in the check to verify there are no unused dependencies in the PERMITTED_RUSTC_DEPENDENCIES. Previously the check was verifying that the dependency was used *anywhere* in the workspace, when it should have been checking if it was used for the compiler.

There's also just a little general cleanup here. For example, the old `normal_deps_of_r` function was changed a while ago to return *all* dependencies, but the function name and description wasn't updated to remove `normal_`.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions