diff options
| author | Zack Weinberg <zackw@panix.com> | 2017-01-21 11:01:11 -0500 |
|---|---|---|
| committer | Zack Weinberg <zackw@panix.com> | 2017-01-21 11:01:11 -0500 |
| commit | 2580950fcd7c516ebd2fc090443b5406a18f77bb (patch) | |
| tree | 4632a369d5d734c9c923aa3c2972ff27d52591e5 /src/test/run-pass/thinlto | |
| parent | c74efddc89859b9ddfbdccf8ccb2fa9862a1681d (diff) | |
| download | rust-2580950fcd7c516ebd2fc090443b5406a18f77bb.tar.gz rust-2580950fcd7c516ebd2fc090443b5406a18f77bb.zip | |
Generalize envs() and args() to iterators.
* Command::envs() now takes anything that is IntoIterator<Item=(K, V)> where both K and V are AsRef<OsStr>. * Since we're not 100% sure that's the right signature, envs() is now marked unstable. (You can use envs() with HashMap<str, str> but not Vec<(str, str)>, for instance.) * Update the test to match. * By analogy, args() now takes any IntoIterator<Item=S>, S: AsRef<OsStr>. This should be uncontroversial.
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions
