We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--print target-list
1 parent 6153bbb commit dc7407cCopy full SHA for dc7407c
src/librustc_back/target/mod.rs
@@ -94,7 +94,7 @@ macro_rules! supported_targets {
94
pub fn get_targets() -> Box<Iterator<Item=String>> {
95
Box::new(TARGETS.iter().filter_map(|t| -> Option<String> {
96
load_specific(t)
97
- .map(|t| t.llvm_target)
+ .and(Ok(t.to_string()))
98
.ok()
99
}))
100
}
0 commit comments