Skip to content

Commit

Permalink
auto merge of #19114 : frewsxcv/rust/master, r=bstrie
Browse files Browse the repository at this point in the history
Fixes #19010
  • Loading branch information
bors committed Nov 21, 2014
2 parents f530aa0 + ef5acff commit 97c043b
Show file tree
Hide file tree
Showing 4 changed files with 130 additions and 129 deletions.
1 change: 1 addition & 0 deletions AUTHORS.txt
Expand Up @@ -121,6 +121,7 @@ Cole Mickens <cole.mickens@gmail.com>
Colin Davidson <colrdavidson@gmail.com>
Colin Sherratt <colin.sherratt@gmail.com>
Conrad Kleinespel <conradk@conradk.com>
Corey Farwell <coreyf+rust@rwell.org>
Corey Ford <corey@coreyford.name>
Corey Richardson <corey@octayn.net>
DJUrsus <colinvh@divitu.com>
Expand Down
2 changes: 1 addition & 1 deletion src/librustc_back/target/mod.rs
Expand Up @@ -250,7 +250,7 @@ impl Target {
} );
($key_name:ident, list) => ( {
let name = (stringify!($key_name)).replace("_", "-");
obj.find(name[]).map(|o| o.as_list()
obj.find(name[]).map(|o| o.as_array()
.map(|v| base.options.$key_name = v.iter()
.map(|a| a.as_string().unwrap().to_string()).collect()
)
Expand Down

0 comments on commit 97c043b

Please sign in to comment.