mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +00:00
run cargo fmt on missed files
It seems these files were missed by CI. Command to run cargo fmt on absolutely *everything* (and possibly too much) find tests -name "*.rs" -print0 | xargs -0 cargo fmt --
This commit is contained in:
parent
6a828f0e74
commit
0011b6e3f7
2 changed files with 5 additions and 6 deletions
|
@ -6,7 +6,7 @@
|
|||
// spell-checker:ignore funcs
|
||||
|
||||
use array_init::array_init;
|
||||
use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion, Throughput};
|
||||
use criterion::{BenchmarkId, Criterion, Throughput, criterion_group, criterion_main};
|
||||
|
||||
fn table(c: &mut Criterion) {
|
||||
#[cfg(target_os = "linux")]
|
||||
|
@ -54,7 +54,9 @@ fn check_personality() {
|
|||
let personality = u64::from_str_radix(&p_string, 16)
|
||||
.unwrap_or_else(|_| panic!("Expected a hex value for personality, got '{p_string:?}'"));
|
||||
if personality & ADDR_NO_RANDOMIZE == 0 {
|
||||
eprintln!("WARNING: Benchmarking with ASLR enabled (personality is {personality:x}), results might not be reproducible.");
|
||||
eprintln!(
|
||||
"WARNING: Benchmarking with ASLR enabled (personality is {personality:x}), results might not be reproducible."
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue