We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3595f4e commit c44f04bCopy full SHA for c44f04b
src/main.rs
@@ -57,7 +57,7 @@ fn main() {
57
1 => match_class!(match args.as_slice()[0].clone() {
58
i @ PyInt => {
59
use num_traits::cast::ToPrimitive;
60
- process::exit(i.as_bigint().to_i32().unwrap());
+ process::exit(i.as_bigint().to_i32().unwrap_or(0));
61
}
62
arg => {
63
if vm.is_none(&arg) {
0 commit comments