333 MiB/s
This commit is contained in:
commit
163c5f271f
4 changed files with 22 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
/target
|
||||
7
Cargo.lock
generated
Normal file
7
Cargo.lock
generated
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# This file is automatically @generated by Cargo.
|
||||
# It is not intended for manual editing.
|
||||
version = 4
|
||||
|
||||
[[package]]
|
||||
name = "count-forever"
|
||||
version = "0.1.0"
|
||||
6
Cargo.toml
Normal file
6
Cargo.toml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
[package]
|
||||
name = "count-forever"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
8
src/main.rs
Normal file
8
src/main.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
use std::io::{self, BufWriter, Write};
|
||||
|
||||
fn main() {
|
||||
let mut stdout = BufWriter::new(io::stdout());
|
||||
for i in 0u64.. {
|
||||
writeln!(stdout, "{i}").unwrap();
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue