about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/debuginfo
diff options
context:
space:
mode:
authorEric Huss <eric@huss.org>2024-07-25 16:36:09 -0700
committerEric Huss <eric@huss.org>2024-07-25 16:40:37 -0700
commitbbe9056c2a68495bf4139a358745d8ca4c398576 (patch)
tree0076d2ff42aff7712fd62b8380b0f2de34b4bf2e /compiler/rustc_codegen_llvm/src/debuginfo
parentee75f24945a4e7d614b25c89d70b3eb88dc20ccd (diff)
downloadrust-bbe9056c2a68495bf4139a358745d8ca4c398576.tar.gz
rust-bbe9056c2a68495bf4139a358745d8ca4c398576.zip
Add require_and_update_submodule to ensure submodules exist
This adds a new method `require_and_update_submodule` to replace
`update_submodule`. This new method will generate an error if the
submodule doesn't actually exist. This replaces some ad-hoc checks that
were performing this function. This helps ensure that a good error
message is always displayed.

This also adds require_and_update_all_submodules which does this for
all submodules.

Ideally this should not have any change other than better error messages
when submodules are missing.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/debuginfo')
0 files changed, 0 insertions, 0 deletions