mirror of
https://github.com/Noratrieb/cargo-minimize.git
synced 2026-01-14 16:35:01 +01:00
remove cargo
This commit is contained in:
parent
38d126a4b6
commit
d447ee6783
4 changed files with 24 additions and 980 deletions
988
Cargo.lock
generated
988
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -11,7 +11,6 @@ description = "A tool for minimizing rustc ICEs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0.65"
|
anyhow = "1.0.65"
|
||||||
cargo = "0.65.0"
|
|
||||||
clap = { version = "4.0.29", features = ["derive"] }
|
clap = { version = "4.0.29", features = ["derive"] }
|
||||||
prettyplease = "0.1.19"
|
prettyplease = "0.1.19"
|
||||||
proc-macro2 = { version = "1.0.48", features = ["span-locations"] }
|
proc-macro2 = { version = "1.0.48", features = ["span-locations"] }
|
||||||
|
|
|
||||||
|
|
@ -6,10 +6,12 @@ use std::{path::PathBuf, str::FromStr};
|
||||||
mod build;
|
mod build;
|
||||||
mod dylib_flag;
|
mod dylib_flag;
|
||||||
mod everybody_loops;
|
mod everybody_loops;
|
||||||
mod expand;
|
|
||||||
mod privatize;
|
mod privatize;
|
||||||
mod processor;
|
mod processor;
|
||||||
|
|
||||||
|
#[cfg(this_pulls_in_cargo_which_is_a_big_dep_i_dont_like_it)]
|
||||||
|
mod expand;
|
||||||
|
|
||||||
use anyhow::{Context, Result};
|
use anyhow::{Context, Result};
|
||||||
use clap::Parser;
|
use clap::Parser;
|
||||||
use dylib_flag::RustFunction;
|
use dylib_flag::RustFunction;
|
||||||
|
|
|
||||||
11
tests/helper.rs
Normal file
11
tests/helper.rs
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
use anyhow::Result;
|
||||||
|
|
||||||
|
fn run_test(_: &str) -> Result<()> {
|
||||||
|
let _ = tempfile::tempdir()?;
|
||||||
|
Ok(())
|
||||||
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn smoke() {
|
||||||
|
run_test("").unwrap();
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue