@@ -1,2 +1,8 @@
 | 
				
			|||||||
[build]
 | 
					[target.x86_64-unknown-linux-gnu]
 | 
				
			||||||
 | 
					rustflags = ["-C", "link-arg=-fuse-ld=lld"]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[target.i686-unknown-linux-gnu]
 | 
				
			||||||
 | 
					rustflags = ["-C", "link-arg=-fuse-ld=lld"]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[target.aarch64-unknown-linux-gnu]
 | 
				
			||||||
rustflags = ["-C", "link-arg=-fuse-ld=lld"]
 | 
					rustflags = ["-C", "link-arg=-fuse-ld=lld"]
 | 
				
			||||||
@@ -26,15 +26,17 @@
 | 
				
			|||||||
      in rec {
 | 
					      in rec {
 | 
				
			||||||
        devShell = with pkgs;
 | 
					        devShell = with pkgs;
 | 
				
			||||||
          mkShell {
 | 
					          mkShell {
 | 
				
			||||||
            nativeBuildInputs = [
 | 
					            nativeBuildInputs =
 | 
				
			||||||
 | 
					              [
 | 
				
			||||||
                cmake
 | 
					                cmake
 | 
				
			||||||
                openssl
 | 
					                openssl
 | 
				
			||||||
                fontconfig
 | 
					                fontconfig
 | 
				
			||||||
                pkg-config
 | 
					                pkg-config
 | 
				
			||||||
              llvmPackages.lld
 | 
					 | 
				
			||||||
                rust-analyzer
 | 
					                rust-analyzer
 | 
				
			||||||
                toolchain
 | 
					                toolchain
 | 
				
			||||||
            ];
 | 
					              ]
 | 
				
			||||||
 | 
					              ++ lib.optionals (with stdenv.hostPlatform; (isx86 || isi686 || isAarch64) && isLinux) [llvmPackages.lld]
 | 
				
			||||||
 | 
					              ++ lib.optionals stdenv.hostPlatform.isDarwin [darwin.apple_sdk.frameworks.Cocoa];
 | 
				
			||||||
          };
 | 
					          };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        formatter = pkgs.alejandra;
 | 
					        formatter = pkgs.alejandra;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user