From b99d22f82a528f41b09c3be28fba1819957d65c9 Mon Sep 17 00:00:00 2001 From: wyrapeseed Date: Tue, 21 Oct 2025 14:52:43 +0800 Subject: [PATCH] chore: make some documents clearer Signed-off-by: wyrapeseed --- build.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.rs b/build.rs index 5ac652a..31f6ab5 100644 --- a/build.rs +++ b/build.rs @@ -6,8 +6,8 @@ use std::path; fn main() { println!("cargo:rerun-if-changed=build.rs"); - // env::ARCH doesn't include full triplet, and AFAIK there isn't a nicer way of getting the full triplet - // (see lib.rs for the rest of this hack) + // env::ARCH doesn't include the full triplet, and as far as I know there isn't a cleaner way of getting the full triplet + // (see cargo.rs for the rest of this implementation) let out = path::PathBuf::from(env::var_os("OUT_DIR").expect("run within cargo")) .join("current_target.txt"); let default_target = env::var("TARGET").expect("run as cargo build script");