{"ast_node_type":"function","tokens":[{"end":61,"kind":"keyword","start":0,"text":"pub(crate)"}]}
pub(crate) fn rustflags_from_env(kind: &str) -> Vec<String> {
// Adapted from https://github.com/rust-lang/cargo/blob/6dc1deaddf62c7748c9097c7ea88e9ec77ff1a1a/src/cargo/core/compiler/build_context/target_info.rs#L750-L77
    // First try CARGO_ENCODED_RUSTFLAGS from the environment.