]> git.lizzy.rs Git - rust.git/commit
Avoid panicking on missing fallback
authorMark Rousskov <mark.simulacrum@gmail.com>
Sat, 17 Sep 2022 22:13:59 +0000 (18:13 -0400)
committerMark Rousskov <mark.simulacrum@gmail.com>
Tue, 20 Sep 2022 22:23:22 +0000 (18:23 -0400)
commit84fb168d7f0f143fc9d666cc6de757c3d0949ced
tree4993ae6a700b1d091a0f24ded9f0add2aeb8aeaf
parenta29f341a8ac4e9325a5e37027b4215f50a76d06f
Avoid panicking on missing fallback

This just prints a message but continues on if a fallback is missing,
which can happen when we're building a partial set of builders and
producing a dev-static build from it (e.g., when no Apple builder runs
at all).

Probably the more extensive fix is to allow the build-manifest invoker
to specify the expected set of targets & hosts, but that's a far more
extensive change. The main risk from this is that we accidentally start
falling back to linux docs across all platforms without noticing. I'm
not sure that we can do much about that though at this time.
src/tools/build-manifest/src/main.rs