diff --git a/Cargo.toml b/Cargo.toml index 59482f68..044e182b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,6 @@ description = "Sampling profiler for Python programs " readme = "README.md" exclude = ["images/*", "test_programs/*"] license = "MIT" -build="build.rs" edition="2021" [dependencies] diff --git a/build.rs b/build.rs deleted file mode 100644 index cec961ca..00000000 --- a/build.rs +++ /dev/null @@ -1,13 +0,0 @@ -use std::env; - -fn main() { - if env::var("CARGO_CFG_TARGET_ARCH").unwrap() != "x86_64" { - return; - } - - match env::var("CARGO_CFG_TARGET_OS").unwrap().as_ref() { - "windows" => println!("cargo:rustc-cfg=unwind"), - "linux" => println!("cargo:rustc-cfg=unwind"), - _ => {} - } -}