Skip to content

Commit

Permalink
Rust: deny arithmetic_overflow and overflowing_literals
Browse files Browse the repository at this point in the history
  • Loading branch information
generalmimon committed Sep 2, 2024
1 parent d6793db commit d7c9516
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ class RustCompiler(typeProvider: ClassTypeProvider, config: RuntimeConfig)
outHeader.puts("#![allow(non_camel_case_types)]")
outHeader.puts("#![allow(irrefutable_let_patterns)]")
outHeader.puts("#![allow(unused_comparisons)]")
outHeader.puts("#![allow(arithmetic_overflow)]")
outHeader.puts("#![allow(overflowing_literals)]")
outHeader.puts
outHeader.puts("extern crate kaitai;")

Expand Down

0 comments on commit d7c9516

Please sign in to comment.