solana/program-runtime
Alessandro Decina 805d53fc10
program-runtime: add LogCollector::new_ref_with_limit() (#21691)
program-runtime: add LogCollector::new_ref_with_limit()

LogCollector::new_ref_with_limit(limit: Option<usize>) can be used to
initialize a collector with the given bytes limit. The limit can be None, in
which case logs are never truncated.

new_ref_with_limit(None) is used by cargo-run-bpf-tests so that the output of
cargo test --target=bpfel-unknown-unknown is not truncated.
2021-12-10 13:38:03 +11:00
..
benches Reformat imports to a consistent style for imports 2021-12-03 09:19:13 -08:00
src program-runtime: add LogCollector::new_ref_with_limit() (#21691) 2021-12-10 13:38:03 +11:00
Cargo.toml Bump version to v1.10.0 2021-12-04 20:17:54 +00:00
build.rs Add solana-program-runtime crate (#19438) 2021-08-27 00:30:36 +00:00