File tree Expand file tree Collapse file tree 4 files changed +23
-3
lines changed Expand file tree Collapse file tree 4 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 1
- affdb59607566c1615c829eea9e7b27a093994ec
1
+ 8df89d1cb077cd76013d3f9f5a4e92c5b5a9280c
Original file line number Diff line number Diff line change @@ -721,8 +721,8 @@ fn main() {
721
721
722
722
// Ensure we have parallelism for many-seeds mode.
723
723
if many_seeds. is_some ( ) && !rustc_args. iter ( ) . any ( |arg| arg. starts_with ( "-Zthreads=" ) ) {
724
- // Clamp to 10 threads; things get a lot less efficient beyond that due to lock contention.
725
- let threads = std:: thread:: available_parallelism ( ) . map_or ( 1 , |n| n. get ( ) ) . min ( 10 ) ;
724
+ // Clamp to 20 threads; things get a less efficient beyond that due to lock contention.
725
+ let threads = std:: thread:: available_parallelism ( ) . map_or ( 1 , |n| n. get ( ) ) . min ( 20 ) ;
726
726
rustc_args. push ( format ! ( "-Zthreads={threads}" ) ) ;
727
727
}
728
728
let many_seeds =
Original file line number Diff line number Diff line change
1
+ #![ feature( core_intrinsics) ]
2
+ fn main ( ) {
3
+ // one bit in common
4
+ unsafe { std:: intrinsics:: disjoint_bitor ( 0b01101001_u8 , 0b10001110 ) } ; //~ ERROR: Undefined Behavior
5
+ }
Original file line number Diff line number Diff line change
1
+ error: Undefined Behavior: `assume` called with `false`
2
+ --> tests/fail/intrinsics/disjoint_bitor.rs:LL:CC
3
+ |
4
+ LL | unsafe { std::intrinsics::disjoint_bitor(0b01101001_u8, 0b10001110) };
5
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `assume` called with `false`
6
+ |
7
+ = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
8
+ = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
9
+ = note: BACKTRACE:
10
+ = note: inside `main` at tests/fail/intrinsics/disjoint_bitor.rs:LL:CC
11
+
12
+ note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
13
+
14
+ error: aborting due to 1 previous error
15
+
You can’t perform that action at this time.
0 commit comments