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

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

include!(concat!(env!("ISLE_DIR"), "/isle_x64.rs"));