mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-25 11:14:46 +00:00
refactor(build-rs): Clean up 'use's
This commit is contained in:
parent
5e833bfbbb
commit
260fcab3b3
@ -6,8 +6,11 @@
|
||||
//!
|
||||
//! Reference: <https://doc.rust-lang.org/cargo/reference/build-scripts.html#outputs-of-the-build-script>
|
||||
|
||||
use std::ffi::OsStr;
|
||||
use std::path::Path;
|
||||
use std::{fmt::Display, fmt::Write as _};
|
||||
|
||||
use crate::ident::{is_ascii_ident, is_ident};
|
||||
use std::{ffi::OsStr, fmt::Display, fmt::Write, path::Path, str};
|
||||
|
||||
fn emit(directive: &str, value: impl Display) {
|
||||
println!("cargo::{}={}", directive, value);
|
||||
|
Loading…
x
Reference in New Issue
Block a user