1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-27 11:07:44 +00:00

Merge pull request #4235 from cakebaker/build_rs_remove_println

build.rs: remove two comments
This commit is contained in:
Sylvestre Ledru 2022-12-13 15:32:08 +01:00 committed by GitHub
commit ce8c53dbad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,8 +6,6 @@ use std::io::Write;
use std::path::Path; use std::path::Path;
pub fn main() { pub fn main() {
// println!("cargo:warning=Running build.rs");
if let Ok(profile) = env::var("PROFILE") { if let Ok(profile) = env::var("PROFILE") {
println!("cargo:rustc-cfg=build={:?}", profile); println!("cargo:rustc-cfg=build={:?}", profile);
} }
@ -17,7 +15,6 @@ pub fn main() {
const OVERRIDE_PREFIX: &str = "uu_"; const OVERRIDE_PREFIX: &str = "uu_";
let out_dir = env::var("OUT_DIR").unwrap(); let out_dir = env::var("OUT_DIR").unwrap();
// println!("cargo:warning=out_dir={}", out_dir);
let mut crates = Vec::new(); let mut crates = Vec::new();
for (key, val) in env::vars() { for (key, val) in env::vars() {