Closed
Description
I ran ./x.py check library
.
I expected this command to check all crates defined in the library
directory or at least print a useful error.
Instead, I got a panic.
$ ./x.py check library
Updating only changed submodules
Submodules updated in 0.03 seconds
Finished dev [unoptimized + debuginfo] target(s) in 0.18s
thread 'main' panicked at 'error: no rules matched library', src/bootstrap/builder.rs:236:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Build completed unsuccessfully in 0:00:01
Meta
rust HEAD:
commit 4479cb82e52989480a238e0cf8c67e04b655b36d (upstream/master, master)
Merge: c24c9067eec 1139ee32aa8
Author: bors <bors@rust-lang.org>
Date: Sun Oct 3 10:34:57 2021 +0000
Auto merge of #89459 - tspiteri:idiv-overflow-bitand, r=kennytm
Use bitand when checking for signed integer division overflow
For `self == Self::MIN && rhs == -1`, LLVM does not realize that this is the same check made by `self / rhs`, so the code generated may have some unnecessary duplication. For `(self == Self::MIN) & (rhs == -1)`, LLVM realizes it is the same check.