We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a1099c commit c8e6889Copy full SHA for c8e6889
src/tools/build-manifest/src/main.rs
@@ -536,7 +536,10 @@ impl Builder {
536
}
537
for (substr, fallback_target) in fallback {
538
if target_name.contains(substr) {
539
- return Target::from_compressed_tar(self, &tarball_name!(fallback_target));
+ let t = Target::from_compressed_tar(self, &tarball_name!(fallback_target));
540
+ // Fallbacks must always be available.
541
+ assert!(t.available);
542
+ return t;
543
544
545
Target::unavailable()
0 commit comments