cranelift_codegen/isa/pulley_shared/lower/isle/
generated_code.rs

1// See https://github.com/rust-lang/rust/issues/47995: we cannot use `#![...]` attributes inside of
2// the generated ISLE source below because we include!() it. We must include!() it because its path
3// depends on an environment variable; and also because of this, we can't do the `#[path = "..."]
4// mod generated_code;` trick either.
5#![allow(
6    dead_code,
7    unreachable_code,
8    unreachable_patterns,
9    unused_imports,
10    unused_variables,
11    non_snake_case,
12    unused_mut,
13    irrefutable_let_patterns,
14    clippy::all
15)]
16
17include!(concat!(env!("ISLE_DIR"), "/isle_pulley_shared.rs"));