Add TyCtx::env_var_os
Along with `TyCtx::env_var` helper. These can be used to track environment variable accesses in the query system. Since `TyCtx::env_var_os` uses `OsStr`, this commit also adds the necessary trait implementations for that to work.
This commit is contained in:
parent
c772573708
commit
17db054141
6 changed files with 75 additions and 1 deletions
|
@ -564,6 +564,8 @@ where
|
|||
}
|
||||
}
|
||||
|
||||
impl_stable_traits_for_trivial_type!(::std::ffi::OsStr);
|
||||
|
||||
impl_stable_traits_for_trivial_type!(::std::path::Path);
|
||||
impl_stable_traits_for_trivial_type!(::std::path::PathBuf);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue