Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(int): avoid infinite recursion on left shift
Please, see this discussion for the full context: https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/.5Bwasm32.5D.20Infinite.20recursion.20.60compiler-builtins.60.20.60__multi3.60 Signed-off-by: Enzo "raskyld" Nocera <enzo@nocera.eu> We determined that some recursion problems on SPARC and WASM were due to infinite recusion. This was introduced at 9c6fcb5 ("Split Int into Int and MinInt") when moving the implementation of `widen_hi` from something on each `impl` block to a default on the trait. The reasoning is not fully understood, but undoing this portion of the change seems to resolve the issue. [ add the above context - Trevor ] Signed-off-by: Trevor Gross <tmgross@umich.edu>
- Loading branch information