Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
holtgrewe committed Oct 23, 2023
1 parent d9da776 commit 38a1886
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions build.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// The custom build script, needed as we use prost.

fn main() {
println!("cargo:rerun-if-changed=src/db/create/txs/data.proto3");
prost_build::compile_protos(&["src/db/create/txs/data.proto3"], &["src/"]).unwrap();
}
Original file line number Diff line number Diff line change
Expand Up @@ -407,4 +407,6 @@ expression: "String::from_utf8_lossy(&buffer)"
6432: 0E 1D 0E 1D 0E 1D 0E 1D 0E 1D 0E 1D 8E 3D 7F F5 .............=..
6448: 31 7F F6 31 7F F7 31 7F F8 31 7F F9 31 7F FA 31 1..1..1..1..1..1
6464: 7F FB 31 7F FC 31 7F FD F1 FF F3 8F 7D FC 00 80 ..1..1......}...
6480: 99 73 8A 40 36 00 00 .s.@6..
6480: 99 73 8A 40 36 00 00 1F 8B 08 04 00 00 00 00 00 .s.@6...........
6496: FF 06 00 42 43 02 00 1B 00 03 00 00 00 00 00 00 ...BC...........
6512: 00 00 00 ...
Original file line number Diff line number Diff line change
Expand Up @@ -407,4 +407,6 @@ expression: "String::from_utf8_lossy(&buffer)"
6432: 0E 1D 0E 1D 0E 1D 0E 1D 0E 1D 0E 1D 8E 3D 7F F5 .............=..
6448: 31 7F F6 31 7F F7 31 7F F8 31 7F F9 31 7F FA 31 1..1..1..1..1..1
6464: 7F FB 31 7F FC 31 7F FD F1 FF F3 8F 7D FC 00 80 ..1..1......}...
6480: 99 73 8A 40 36 00 00 .s.@6..
6480: 99 73 8A 40 36 00 00 1F 8B 08 04 00 00 00 00 00 .s.@6...........
6496: FF 06 00 42 43 02 00 1B 00 03 00 00 00 00 00 00 ...BC...........
6512: 00 00 00 ...
4 changes: 3 additions & 1 deletion src/common/io/tokio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,12 @@ mod test {
writer.write_all(format!("{}\n", i).as_bytes()).await?;
}

writer.flush().await?;
// writer.flush().await?;
writer.shutdown().await?;
}

std::thread::sleep(std::time::Duration::from_millis(100));

let mut buffer: Vec<u8> = Vec::new();
hxdmp::hexdump(
&crate::common::io::std::read_to_bytes(&tmp_file_path)?,
Expand Down

0 comments on commit 38a1886

Please sign in to comment.