diff --git a/Cargo.toml b/Cargo.toml index 1066dabdf1..00bc60bf51 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -63,7 +63,14 @@ tikv-jemallocator = "0.5.4" future-incompatible = "deny" nonstandard-style = "deny" rust-2018-idioms = "deny" -unused = "deny" +# See [here](https://github.com/taiki-e/cargo-llvm-cov/issues/370) for a discussion on why this is +# needed (from rust 1.80). +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] } +# Need a priority of `-1` so it is before the `warnings` lint. See +# [here](https://github.com/rust-lang/cargo/issues/12918) for details on the issue, and +# [here](https://rust-lang.github.io/rust-clippy/master/index.html#/lint_groups_priority) for the +# clippy failure this solves. +unused = { level = "deny", priority = -1 } warnings = "deny" [workspace.lints.clippy] diff --git a/README.md b/README.md index 110fa3be73..2c7b550e4c 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,11 @@ +## Archived +*** This repository is archived and no longer maintained. *** + +The functionality of this repository has been integrated into the [Starknet sequencer monorepo](https://github.com/starkware-libs/sequencer). +
Table of Contents diff --git a/crates/blockifier/src/lib.rs b/crates/blockifier/src/lib.rs index 686c46b983..577f2502de 100644 --- a/crates/blockifier/src/lib.rs +++ b/crates/blockifier/src/lib.rs @@ -2,12 +2,7 @@ // length to pointer type ([not necessarily true](https://github.com/rust-lang/rust/issues/65473), // but it is a reasonable assumption for now), this attribute protects against potential overflow // when converting usize to u128. -#![cfg(any( - target_pointer_width = "16", - target_pointer_width = "32", - target_pointer_width = "64", - target_pointer_width = "128" -))] +#![cfg(any(target_pointer_width = "16", target_pointer_width = "32", target_pointer_width = "64",))] #[cfg(feature = "jemalloc")] // Override default allocator. diff --git a/crates/native_blockifier/src/lib.rs b/crates/native_blockifier/src/lib.rs index 1ae8dd5464..12bc005ec2 100644 --- a/crates/native_blockifier/src/lib.rs +++ b/crates/native_blockifier/src/lib.rs @@ -1,10 +1,5 @@ // The blockifier crate supports only these specific architectures. -#![cfg(any( - target_pointer_width = "16", - target_pointer_width = "32", - target_pointer_width = "64", - target_pointer_width = "128" -))] +#![cfg(any(target_pointer_width = "16", target_pointer_width = "32", target_pointer_width = "64",))] pub mod errors; pub mod py_block_executor;