12be12a51SChris Fallin //! Wrapper environment for generated code from optimization rules in ISLE.
22be12a51SChris Fallin 
32be12a51SChris Fallin // See https://github.com/rust-lang/rust/issues/47995: we cannot use `#![...]` attributes inside of
42be12a51SChris Fallin // the generated ISLE source below because we include!() it. We must include!() it because its path
52be12a51SChris Fallin // depends on an environment variable; and also because of this, we can't do the `#[path = "..."]
62be12a51SChris Fallin // mod generated_code;` trick either.
7*099102d9SAlex Crichton #![expect(
8*099102d9SAlex Crichton     dead_code,
9*099102d9SAlex Crichton     unreachable_patterns,
10*099102d9SAlex Crichton     unused_imports,
11*099102d9SAlex Crichton     unused_variables,
12*099102d9SAlex Crichton     irrefutable_let_patterns,
13*099102d9SAlex Crichton     non_camel_case_types,
14*099102d9SAlex Crichton     clippy::clone_on_copy,
15*099102d9SAlex Crichton     reason = "generated code"
16*099102d9SAlex Crichton )]
172be12a51SChris Fallin 
182be12a51SChris Fallin include!(concat!(env!("ISLE_DIR"), "/isle_opt.rs"));
19