This commit changes how both the shared flags and ISA flags are stored in the serialized module to detect incompatibilities when a serialized module is instantiated. It improves the error reporting when a compiled module has mismatched shared flags.
10 lines
367 B
Rust
10 lines
367 B
Rust
//! x86 Settings.
|
|
|
|
use crate::settings::{self, detail, Builder, Value};
|
|
use core::fmt;
|
|
|
|
// Include code generated by `cranelift-codegen/meta/src/gen_settings.rs:`. This file contains a
|
|
// public `Flags` struct with an impl for all of the settings defined in
|
|
// `cranelift-codegen/meta/src/isa/x86/settings.rs`.
|
|
include!(concat!(env!("OUT_DIR"), "/settings-x86.rs"));
|