From cb9a348871956de6ed9c11aae22fae5ad8c47369 Mon Sep 17 00:00:00 2001 From: Anton-4 <17049058+Anton-4@users.noreply.github.com> Date: Tue, 8 Aug 2023 20:09:15 +0200 Subject: [PATCH] cleanup --- crates/compiler/build/src/link.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/crates/compiler/build/src/link.rs b/crates/compiler/build/src/link.rs index a9240a916a..03c55f767f 100644 --- a/crates/compiler/build/src/link.rs +++ b/crates/compiler/build/src/link.rs @@ -876,9 +876,6 @@ fn link_linux( )); } - // Some things we'll need to build a list of dirs to check for libraries - //env::var_os("NIX_GLIBC_PATH").map(|path| path.into_string().unwrap()), - //env::var_os("NIX_LIBGCC_S_PATH").map(|path| path.into_string().unwrap()) let nix_paths_vec_string = nix_paths(); let nix_paths_vec: Vec = nix_paths_vec_string.iter().map(PathBuf::from).collect(); let usr_lib_arch_path = strs_to_path(&["/usr", "lib", &architecture]); @@ -886,7 +883,7 @@ fn link_linux( let mut lib_dirs: Vec = vec![]; - // start with nix paths, this prevents bugs + // start with nix paths, this prevents version incompatibility if !nix_paths_vec.is_empty() { lib_dirs.extend(nix_paths_vec) }