Format and stuff

This commit is contained in:
Janggun Lee
2025-01-23 19:11:43 +09:00
parent fcb6ca2538
commit 00c64a5297
22 changed files with 201 additions and 163 deletions

View File

@@ -1,7 +1,7 @@
use clap::Parser;
use std::path::Path;
use clap::Parser;
#[derive(Debug, Parser)]
#[clap(name = "fuzz", version, author, about)]
struct FuzzCli {

View File

@@ -1,18 +1,16 @@
use clap::Parser;
use std::ffi::OsStr;
use std::io::Write;
use std::os::unix::io::{FromRawFd, IntoRawFd};
use std::path::Path;
use std::process::{Command, Stdio};
use lang_c::ast::TranslationUnit;
use tempfile::tempdir;
use clap::Parser;
use kecc::{
ir, ok_or_exit, write, Asmgen, Deadcode, Gvn, IrParse, IrVisualizer, Irgen, Mem2reg, Optimize,
Parse, SimplifyCfg, Translate, O1,
};
use lang_c::ast::TranslationUnit;
use tempfile::tempdir;
#[derive(Debug, Parser)]
#[clap(name = "kecc", version, author, about)]