mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-16 07:28:52 +00:00
Update skeleton
This commit is contained in:
10
src/lib.rs
10
src/lib.rs
@@ -1,5 +1,9 @@
|
||||
#![deny(warnings)]
|
||||
// Neccessary for skeleton code.
|
||||
#![allow(unreachable_code)]
|
||||
// Necessary to allow `iter.fold(false, |l, r| l || r)`. It's used when iteration should not be
|
||||
// short-circuited.
|
||||
#![allow(clippy::unnecessary_fold)]
|
||||
|
||||
mod tests;
|
||||
mod utils;
|
||||
@@ -18,7 +22,11 @@ pub use utils::*;
|
||||
pub use write_base::write;
|
||||
|
||||
pub use c::Parse;
|
||||
pub use ir::Parse as IrParse;
|
||||
|
||||
pub use asmgen::Asmgen;
|
||||
pub use irgen::Irgen;
|
||||
pub use opt::{Deadcode, Gvn, Mem2reg, Optimize, Repeat, SimplifyCfg, O0, O1};
|
||||
pub use opt::{
|
||||
Deadcode, FunctionPass, Gvn, Mem2reg, Optimize, Repeat, SimplifyCfg, SimplifyCfgConstProp,
|
||||
SimplifyCfgEmpty, SimplifyCfgMerge, SimplifyCfgReach, O0, O1,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user