Merge pull request #242283 from reckenrode/rust-darwin-hotfix

authored by figsoda and committed by GitHub 44d074c5 e949ec41

+1 -1
+1 -1
pkgs/development/compilers/rust/rustc.nix
··· 53 NIX_LDFLAGS = toString ( 54 # when linking stage1 libstd: cc: undefined reference to `__cxa_begin_catch' 55 optional (stdenv.isLinux && !withBundledLLVM) "--push-state --as-needed -lstdc++ --pop-state" 56 - ++ optional (stdenv.isDarwin && !withBundledLLVM) "-lc++" 57 ++ optional stdenv.isDarwin "-rpath ${llvmSharedForHost}/lib"); 58 59 # Increase codegen units to introduce parallelism within the compiler.
··· 53 NIX_LDFLAGS = toString ( 54 # when linking stage1 libstd: cc: undefined reference to `__cxa_begin_catch' 55 optional (stdenv.isLinux && !withBundledLLVM) "--push-state --as-needed -lstdc++ --pop-state" 56 + ++ optional (stdenv.isDarwin && !withBundledLLVM) "-lc++ -lc++abi" 57 ++ optional stdenv.isDarwin "-rpath ${llvmSharedForHost}/lib"); 58 59 # Increase codegen units to introduce parallelism within the compiler.