-
Notifications
You must be signed in to change notification settings - Fork 458
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Accept non utf-8 characters in compiler and archiver (#998)
* Accept `impl AsRef<Path>` in fn `run*`, `spawn` and `try_wait_on_child` Signed-off-by: Jiahao XU <[email protected]> * Accept non utf-8 path in compiler in `create_compile_object_cmd` Signed-off-by: Jiahao XU <[email protected]> * Accept non utf-8 characters in archiver path Signed-off-by: Jiahao XU <[email protected]> * Remove generics from `spawn` and `try_wait_on_child` They are only used in `Build::compile_objects` with `&Path`, so there is no need to use generics. Signed-off-by: Jiahao XU <[email protected]> * Remove rebundant import of `std::convert::AsRef` Signed-off-by: Jiahao XU <[email protected]> --------- Signed-off-by: Jiahao XU <[email protected]>
- Loading branch information
Showing
3 changed files
with
54 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters