We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 342f694 commit dd99641Copy full SHA for dd99641
1 file changed
src/compiler/mod.rs
@@ -222,6 +222,12 @@ fn current_target() -> Result<&'static str> {
222
return Ok("aarch64-apple-darwin");
223
#[cfg(all(target_os = "windows", target_arch = "x86_64"))]
224
return Ok("x86_64-pc-windows-msvc");
225
- #[allow(unreachable_code)]
+ #[cfg(not(any(
226
+ all(target_os = "linux", target_arch = "x86_64"),
227
+ all(target_os = "linux", target_arch = "aarch64"),
228
+ all(target_os = "macos", target_arch = "x86_64"),
229
+ all(target_os = "macos", target_arch = "aarch64"),
230
+ all(target_os = "windows", target_arch = "x86_64"),
231
+ )))]
232
anyhow::bail!("Unsupported platform for automatic tectonic installation")
233
}
0 commit comments