Print Rust target name, not LLVM target name, for --print target-list
This commit is contained in:
parent
6153bbbe38
commit
dc7407c77a
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ macro_rules! supported_targets {
|
|||
pub fn get_targets() -> Box<Iterator<Item=String>> {
|
||||
Box::new(TARGETS.iter().filter_map(|t| -> Option<String> {
|
||||
load_specific(t)
|
||||
.map(|t| t.llvm_target)
|
||||
.and(Ok(t.to_string()))
|
||||
.ok()
|
||||
}))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue