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.
current_dll_path()
1 parent e2014e8 commit bdd680fCopy full SHA for bdd680f
compiler/rustc_session/src/filesearch.rs
@@ -168,6 +168,11 @@ fn current_dll_path() -> Result<PathBuf, String> {
168
Ok(OsString::from_wide(&filename).into())
169
}
170
171
+#[cfg(target_os = "wasi")]
172
+fn current_dll_path() -> Result<PathBuf, String> {
173
+ Err("current_dll_path is not supported on WASI".to_string())
174
+}
175
+
176
pub fn sysroot_candidates() -> SmallVec<[PathBuf; 2]> {
177
let target = crate::config::host_tuple();
178
let mut sysroot_candidates: SmallVec<[PathBuf; 2]> = smallvec![get_or_default_sysroot()];
0 commit comments