Find a file
bors 73bae6333c Auto merge of #132 - parched:master, r=japaric
mul.rs: use wrapping_mul to avoid infinite recursion

rustc in debug mode with a plain multiplication will call @llvm.umul.with.overflow.* which may call the builtin resulting in infinite recursion.

Fixes #127.

Cc @nezza this should be the fix you can try. Note I made this patch in github's web Ui so it's completely untested.
2017-01-02 16:41:18 +00:00
library/compiler-builtins mul.rs: use wrapping_mul not plain 2017-01-02 22:57:38 +13:00