Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update `getenv` to return `Arc<Ostr>` instead of `Arc<str>` It is possible that the environment variable contains non-utf8 charactes Signed-off-by: Jiahao XU <[email protected]> * Update `get_cpp_link_stdlib` to return `Result<Option<Cow<'_, Path>>, Error>` Signed-off-by: Jiahao XU <[email protected]> * Update `cpp_{set, link}_stdlib` to accept `Path` instead of `str` Signed-off-by: Jiahao XU <[email protected]> * Optimize `prefix_for_target` to ret `Cow<'static, str>` Signed-off-by: Jiahao XU <[email protected]> * Accept `impl AsRef<OsStr>` for asm, ar and cc/cxx flags and `link_lib_modifiers` Signed-off-by: Jiahao XU <[email protected]> * Improve debug logging in `getenv` Signed-off-by: Jiahao XU <[email protected]> * Revert deprecation * Revert `cpp_{set, link}_stdlib` changes Signed-off-by: Jiahao XU <[email protected]> * Fix doc Signed-off-by: Jiahao XU <[email protected]> --------- Signed-off-by: Jiahao XU <[email protected]>
- Loading branch information