about summary refs log tree commit diff
path: root/src/librustpkg/rustpkg.rs
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2013-09-05 14:17:24 +0200
committerFlorian Hahn <flo@fhahn.com>2013-09-05 14:17:24 +0200
commitde39874801761197bf10bf8d04bde1aa2bd82e15 (patch)
tree6afb87492fa6c69778066aa748b26ecae1fb5262 /src/librustpkg/rustpkg.rs
parent422dcbd56d1a1888f1491d8fb14bb87a54fadbc7 (diff)
downloadrust-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.rs2
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)
         }