mirror of
https://github.com/kmc7468/cs420.git
synced 2026-11-04 08:10:29 +09:00
Do not use extern crate
This commit is contained in:
1 parent
7b1cdf9da3
commit
6e1365c242
2 files changed
+4
-9
No files matched your search
@@ -1,7 +1,5 @@
|
|||||||
use clap::Parser;
|
use clap::Parser;
|
||||||
|
|
||||||
extern crate kecc;
|
|
||||||
|
|
||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
|
|
||||||
#[derive(Debug, Parser)]
|
#[derive(Debug, Parser)]
|
||||||
|
|||||||
+4
-7
@@ -1,16 +1,13 @@
|
|||||||
|
use clap::Parser;
|
||||||
|
|
||||||
use std::ffi::OsStr;
|
use std::ffi::OsStr;
|
||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
|
|
||||||
use clap::Parser;
|
|
||||||
|
|
||||||
use lang_c::ast::TranslationUnit;
|
use lang_c::ast::TranslationUnit;
|
||||||
|
|
||||||
#[macro_use]
|
|
||||||
extern crate kecc;
|
|
||||||
|
|
||||||
use kecc::{
|
use kecc::{
|
||||||
ir, write, Asmgen, Deadcode, Gvn, IrParse, Irgen, Mem2reg, Optimize, Parse, SimplifyCfg,
|
ir, ok_or_exit, write, Asmgen, Deadcode, Gvn, IrParse, Irgen, Mem2reg, Optimize, Parse,
|
||||||
Translate, O1,
|
SimplifyCfg, Translate, O1,
|
||||||
};
|
};
|
||||||
|
|
||||||
#[derive(Debug, Parser)]
|
#[derive(Debug, Parser)]
|
||||||
|
|||||||
Reference in new issue
Block a user