File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "rust-analyzer.linkedProjects" : [
3+ " ./negentropy/fuzz/harness/Cargo.toml" ,
4+ " ./negentropy/fuzz/perf/Cargo.toml" ,
35 " ./negentropy-ffi/Cargo.toml"
46 ]
57}
Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ precommit:
22 cargo fmt --all -- --config format_code_in_doc_comments=true
33 cargo clippy -p negentropy && cargo clippy -p negentropy --no-default-features
44 cargo test -p negentropy && cargo test -p negentropy --no-default-features
5+ cargo clippy -p harness && cargo clippy -p harness --no-default-features
6+ cargo test -p harness && cargo test -p harness --no-default-features
7+ cargo clippy -p perf && cargo clippy -p perf --no-default-features
8+ cargo test -p perf && cargo test -p perf --no-default-features
59 cd ./negentropy-ffi && make precommit
610
711bench :
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ fn main() {
2525 )
2626 . unwrap ( ) ;
2727 storage_client. seal ( ) . unwrap ( ) ;
28- let mut client = Negentropy :: new ( & mut storage_client, 0 ) . unwrap ( ) ;
28+ let mut client = Negentropy :: new ( storage_client, 0 ) . unwrap ( ) ;
2929 let now = Instant :: now ( ) ;
3030 let init_output = client. initiate ( ) . unwrap ( ) ;
3131 println ! ( "Client init took {} ms" , now. elapsed( ) . as_millis( ) ) ;
@@ -39,7 +39,7 @@ fn main() {
3939 . unwrap ( ) ;
4040 }
4141 storage_relay. seal ( ) . unwrap ( ) ;
42- let mut relay = Negentropy :: new ( & mut storage_relay, 0 ) . unwrap ( ) ;
42+ let mut relay = Negentropy :: new ( storage_relay, 0 ) . unwrap ( ) ;
4343 let now = Instant :: now ( ) ;
4444 let reconcile_output = relay. reconcile ( & init_output) . unwrap ( ) ;
4545 println ! ( "Relay reconcile took {} ms" , now. elapsed( ) . as_millis( ) ) ;
You can’t perform that action at this time.
0 commit comments