Tracking Issue for proc_macro::{tracked_env, tracked_path} · Issue #99515 · rust-lang/rust (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

@m-ou-se

Description

@m-ou-se

Feature gate: #![feature(proc_macro_tracked_env, track_path)]

This is a tracking issue for proc_macro::tracked*, to allow adding files and environment variables to the build system's dependency tracking.

Public API

// proc_macro

mod tracked_env { pub fn var<K: AsRef + AsRef>(key: K) -> Result<String, VarError>; }

mod tracked_path { pub fn path<P: AsRef>(path: P); }

Steps / History

Unresolved Questions