From 5394c86d86778757235b6153d56dc44b40fbb1af Mon Sep 17 00:00:00 2001 From: Yuri Astrakhan Date: Sat, 28 Sep 2024 00:56:02 -0400 Subject: [PATCH] Add all crates to workspace I am not certain why some crates are missing - it might be by accident or on purpose, so feel free to reject. This makes sure no crate is missed by accident, and also removed the non-existent `wasm-assert-instr-tests` crate. P.S. Also, added some crate-level lints, but perhaps these should be added to all crates in the workspace? --- Cargo.toml | 12 ++---------- crates/core_arch/Cargo.toml | 7 ++++++- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 2fb4745f85..0122d770d9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,16 +1,8 @@ [workspace] resolver = "1" members = [ - "crates/stdarch-verify", - "crates/core_arch", - "crates/std_detect", - "crates/stdarch-gen-arm", - "crates/stdarch-gen-loongarch", - "crates/intrinsic-test", - "examples/" -] -exclude = [ - "crates/wasm-assert-instr-tests" + "crates/*", + "examples" ] [profile.release] diff --git a/crates/core_arch/Cargo.toml b/crates/core_arch/Cargo.toml index 2011b81b75..8237ea257b 100644 --- a/crates/core_arch/Cargo.toml +++ b/crates/core_arch/Cargo.toml @@ -28,4 +28,9 @@ std_detect = { version = "0.*", path = "../std_detect" } syscalls = { version = "0.6.18", default-features = false } [lints.rust] -unexpected_cfgs = {level = "warn", check-cfg = ['cfg(stdarch_intel_sde)'] } \ No newline at end of file +unexpected_cfgs = {level = "warn", check-cfg = ['cfg(stdarch_intel_sde)'] } + +[lints.clippy] +too_long_first_doc_paragraph = "allow" +missing_transmute_annotations = "allow" +useless_transmute = "allow"