Valentyn Kit @valentynkit.com · Jun 30

Rust puzzle. Does this compile? If you think it runs, what does it print?

0 likes 1 replies

?

Replies

Jomer · Jun 30

Afaik it depends on the mode it was compiled in. In `development` it should raise an error because of the overflow, in `release` it would compile and print `0` if I'm not mistaken