diff options
| author | Florian Hahn <flo@fhahn.com> | 2013-09-05 14:17:24 +0200 |
|---|---|---|
| committer | Florian Hahn <flo@fhahn.com> | 2013-09-05 14:17:24 +0200 |
| commit | de39874801761197bf10bf8d04bde1aa2bd82e15 (patch) | |
| tree | 6afb87492fa6c69778066aa748b26ecae1fb5262 /src/librustpkg/rustpkg.rs | |
| parent | 422dcbd56d1a1888f1491d8fb14bb87a54fadbc7 (diff) | |
| download | rust-de39874801761197bf10bf8d04bde1aa2bd82e15.tar.gz rust-de39874801761197bf10bf8d04bde1aa2bd82e15.zip | |
Rename str::from_bytes to str::from_utf8, closes #8985
Diffstat (limited to 'src/librustpkg/rustpkg.rs')
| -rw-r--r-- | src/librustpkg/rustpkg.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustpkg/rustpkg.rs b/src/librustpkg/rustpkg.rs index 6a6e7569a65..25a415df302 100644 --- a/src/librustpkg/rustpkg.rs +++ b/src/librustpkg/rustpkg.rs @@ -153,7 +153,7 @@ impl<'self> PkgScript<'self> { exe.to_str(), sysroot.to_str(), "configs"); let output = run::process_output(exe.to_str(), [sysroot.to_str(), ~"configs"]); // Run the configs() function to get the configs - let cfgs = str::from_bytes_slice(output.output).word_iter() + let cfgs = str::from_utf8_slice(output.output).word_iter() .map(|w| w.to_owned()).collect(); (cfgs, output.status) } |
