mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
cleanup(yes, whoami): remove some old workaround to force cargo rebuilds
This commit is contained in:
@@ -18,9 +18,6 @@ extern crate uucore;
|
||||
|
||||
mod platform;
|
||||
|
||||
// force a re-build whenever Cargo.toml changes
|
||||
const _CARGO_TOML: &str = include_str!("../Cargo.toml");
|
||||
|
||||
pub fn uumain(args: Vec<String>) -> i32 {
|
||||
let app = app_from_crate!();
|
||||
|
||||
|
||||
@@ -21,9 +21,6 @@ use std::borrow::Cow;
|
||||
use std::io::{self, Write};
|
||||
use uucore::zero_copy::ZeroCopyWriter;
|
||||
|
||||
// force a re-build whenever Cargo.toml changes
|
||||
const _CARGO_TOML: &str = include_str!("../Cargo.toml");
|
||||
|
||||
// it's possible that using a smaller or larger buffer might provide better performance on some
|
||||
// systems, but honestly this is good enough
|
||||
const BUF_SIZE: usize = 16 * 1024;
|
||||
|
||||
Reference in New Issue
Block a user