Skip to content

Commit

Permalink
Add all crates to workspace
Browse files Browse the repository at this point in the history
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?
  • Loading branch information
nyurik authored and Amanieu committed Sep 30, 2024
1 parent adeb704 commit 5394c86
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
12 changes: 2 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
7 changes: 6 additions & 1 deletion crates/core_arch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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)'] }
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"

0 comments on commit 5394c86

Please sign in to comment.