!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

717 Members
Rust165 Servers

Load older messages


SenderMessageTime
23 Dec 2022
@aktaboot:tchncs.deaktaboot any Idea how to set lld as rust linker ? 17:51:43
@shane:sveller.socialshanesveller

Here's how I do it for mold instead:

CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER =
          lib.optional pkgs.stdenv.isLinux "${pkgs.clang}/bin/clang";
        LD_LIBRARY_PATH = lib.optional pkgs.stdenv.isLinux (lib.makeLibraryPath
          (with pkgs; [ ... ]));
        RUSTFLAGS = lib.optional pkgs.stdenv.isLinux
          "-C link-arg=-fuse-ld=${pkgs.mold}/bin/mold";
18:05:49
@shane:sveller.socialshanesveller for my devShell only, I let derivations build "normally" 18:06:09
@aktaboot:tchncs.deaktabootthank18:13:48
@bootstrapper:matrix.orgsnick joined the room.19:13:43
@bootstrapper:matrix.orgsnick set a profile picture.19:22:16
@bootstrapper:matrix.orgsnick changed their profile picture.19:40:42
24 Dec 2022
@aktaboot:tchncs.deaktabootAnyone used bevy engine successfully ?13:48:53
@aktaboot:tchncs.deaktabootfor some reason it is not finding my GPU14:25:42
@aktaboot:tchncs.deaktaboot
thread 'main' panicked at 'Unable to find a GPU! Make sure you have installed required drivers! For extra information, see: https://github.com/bevyengine/bevy/blob/latest/docs/linux_dependencies.md'
14:26:35
@shane:sveller.socialshanesvellerI do, that's actually what I pulled my example above16:09:13
@shane:sveller.socialshanesvellerIt worked on nvidia GPU / X11 and AMD GPU / X11 for me16:09:41
@shane:sveller.socialshanesveller* I do, that's actually what I pulled my example above from16:09:53
@charles:computer.surgeryCharles ⚡️
In reply to @aktaboot:tchncs.de
Anyone used bevy engine successfully ?
https://or.computer.surgery/charles/maxels
16:46:48
@aktaboot:tchncs.deaktabootThanks <316:49:24

There are no newer messages yet.


Back to Room ListRoom Version: 6