This repository has been archived by the owner on Oct 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src/nix: make CallOpts::argstr take an
OsString
nix is content with arbitrary bytestrings, which is nice if you have e.g. a path that contains non-UTF-8 characters. So we don’t require a rust `str`, rather an OsStr(ing). It can still be used with normal strings, because of the `AsRef` instances.
- Loading branch information
1 parent
a58a1bd
commit 3f2fe44
Showing
2 changed files
with
15 additions
and
15 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