Ignore target
fix main warning when testing

cc https://github.com/rust-lang/rust/issues/12327