Skip to content

Commit b99d22f

Browse files
committed
chore: make some documents clearer
Signed-off-by: wyrapeseed <[email protected]>
1 parent 7558fcc commit b99d22f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ use std::path;
66
fn main() {
77
println!("cargo:rerun-if-changed=build.rs");
88

9-
// env::ARCH doesn't include full triplet, and AFAIK there isn't a nicer way of getting the full triplet
10-
// (see lib.rs for the rest of this hack)
9+
// 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
10+
// (see cargo.rs for the rest of this implementation)
1111
let out = path::PathBuf::from(env::var_os("OUT_DIR").expect("run within cargo"))
1212
.join("current_target.txt");
1313
let default_target = env::var("TARGET").expect("run as cargo build script");

0 commit comments

Comments
 (0)