Make CompilerOptions flags private again

This commit is contained in:
Felix Schütt
2023-01-19 19:59:03 +01:00
parent c1fec2f32e
commit ff11cbd705

View File

@@ -30,15 +30,15 @@ pub struct StoreOptions {
pub struct CompilerOptions { pub struct CompilerOptions {
/// Use Singlepass compiler. /// Use Singlepass compiler.
#[clap(long, conflicts_with_all = &["cranelift", "llvm"])] #[clap(long, conflicts_with_all = &["cranelift", "llvm"])]
pub singlepass: bool, singlepass: bool,
/// Use Cranelift compiler. /// Use Cranelift compiler.
#[clap(long, conflicts_with_all = &["singlepass", "llvm"])] #[clap(long, conflicts_with_all = &["singlepass", "llvm"])]
pub cranelift: bool, cranelift: bool,
/// Use LLVM compiler. /// Use LLVM compiler.
#[clap(long, conflicts_with_all = &["singlepass", "cranelift"])] #[clap(long, conflicts_with_all = &["singlepass", "cranelift"])]
pub llvm: bool, llvm: bool,
/// Enable compiler internal verification. /// Enable compiler internal verification.
#[clap(long)] #[clap(long)]