"llvm-readobj", // used to get information from ELFs/objects that the other tools don't provide
"llvm-size", // used to prints the size of the linker sections of a program
"llvm-strip", // used to discard symbols from binary files to reduce their size
+ "llvm-ar" // used for creating and modifying archive files
];
/// A structure representing a Rust compiler.
.map(|p| &**p)
}
+ /// Returns the sysroot for the wasi target, if defined
+ fn wasi_root(&self, target: Interned<String>) -> Option<&Path> {
+ self.config.target_config.get(&target)
+ .and_then(|t| t.wasi_root.as_ref())
+ .map(|p| &**p)
+ }
+
/// Returns `true` if this is a no-std `target`, if defined
fn no_std(&self, target: Interned<String>) -> Option<bool> {
self.config.target_config.get(&target)