rust/src/librustc_back
Alex Crichton a828e79480 std: Tweak the std::env OsString/String interface
This commit tweaks the interface of the `std::env` module to make it more
ergonomic for common usage:

* `env::var` was renamed to `env::var_os`
* `env::var_string` was renamed to `env::var`
* `env::args` was renamed to `env::args_os`
* `env::args` was re-added as a panicking iterator over string values
* `env::vars` was renamed to `env::vars_os`
* `env::vars` was re-added as a panicking iterator over string values.

This should make common usage (e.g. unicode values everywhere) more ergonomic
as well as "the default". This is also a breaking change due to the differences
of what's yielded from each of these functions, but migration should be fairly
easy as the defaults operate over `String` which is a common type to use.

[breaking-change]
2015-02-11 13:46:35 -08:00
..
target std: Tweak the std::env OsString/String interface 2015-02-11 13:46:35 -08:00
abi.rs More deprecating of i/u suffixes 2015-02-02 23:37:01 +00:00
archive.rs rollup merge of #21830: japaric/for-cleanup 2015-02-02 11:01:12 -08:00
arm.rs openbsd support 2015-02-01 14:41:38 +01:00
fs.rs std: Add a new env module 2015-02-01 11:08:15 -08:00
lib.rs std: Add a new env module 2015-02-01 11:08:15 -08:00
mips.rs openbsd support 2015-02-01 14:41:38 +01:00
mipsel.rs openbsd support 2015-02-01 14:41:38 +01:00
rpath.rs rollup merge of #21830: japaric/for-cleanup 2015-02-02 11:01:12 -08:00
sha2.rs cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00
svh.rs Libsyntax has been updated 2015-02-06 11:59:10 +01:00
target_strs.rs Extract librustc_back from librustc 2014-07-14 12:27:07 -07:00
x86_64.rs openbsd support 2015-02-01 14:41:38 +01:00
x86.rs openbsd support 2015-02-01 14:41:38 +01:00