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.
1 parent 8470669 commit 03798c3Copy full SHA for 03798c3
cli/src/util/prereqs.rs
@@ -157,7 +157,10 @@ async fn check_is_nixos() -> bool {
157
async fn check_glibcxx_version() -> Result<(), String> {
158
let mut libstdc_path: Option<String> = None;
159
160
+ #[cfg(any(target_arch = "x86_64", target_arch = "aarch64"))]
161
const DEFAULT_LIB_PATH: &str = "/usr/lib64/libstdc++.so.6";
162
+ #[cfg(any(target_arch = "x86", target_arch = "arm"))]
163
+ const DEFAULT_LIB_PATH: &str = "/usr/lib/libstdc++.so.6";
164
const LDCONFIG_PATH: &str = "/sbin/ldconfig";
165
166
if fs::metadata(DEFAULT_LIB_PATH).await.is_ok() {
0 commit comments