!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

636 Members
Rust147 Servers

Load older messages


SenderMessageTime
4 Sep 2025
@wonrax:beeper.comwonraxanyone using crane know why my binary doesn’t include file names and line numbers in backtrace frames (backtrace-rs)? when i build “normally” with cargo on the host, they show up as expected05:02:50
@charles:computer.surgeryCharlesEven in release mode?05:11:31
@wonrax:beeper.comwonraxyes05:18:33
@wonrax:beeper.comwonraxcrane builds package in release mode by default I think05:18:50
@wonrax:beeper.comwonrax at least in the craneLib.buildPackage 05:19:59
@charles:computer.surgeryCharlesI'm asking because I'm not sure if that info is expected to be included in release builds in the first place05:35:10
@qyliss:fairydust.spaceAlyssa RossIt is not05:59:29
@wonrax:beeper.comwonraxi have debug = true set in profile.release in Cargo.toml06:00:10
@wonrax:beeper.comwonrax i would expect building with nix produce the binary that bahaves the same like running cargo build --release 06:01:53
@wonrax:beeper.comwonraxi would expect building with crane produce the binary that bahaves the same like running `cargo build --release`06:04:38
@wonrax:beeper.comwonrax

btw I created a discussion about this
https://github.com/ipetkov/crane/discussions/892

06:06:25
@fliegendewurst:matrix.orgFliegendeWurst changed their display name from FliegendeWurst (@GPN23) to FliegendeWurst.08:34:41
@aidalgol:tchncs.de@aidalgol:tchncs.de changed their display name from Aidan Gauland to aidalgol[m].11:23:31
@aidalgol:tchncs.de@aidalgol:tchncs.de changed their display name from aidalgol[m] to aidalgol.11:24:12
@atagen:ch.atagen.coatagen set a profile picture.12:04:16
@atagen:ch.atagen.coatagen changed their profile picture.12:04:39
@atagen:ch.atagen.coatagen changed their profile picture.12:04:51
6 Sep 2025
@ironm00n:matrix.orgironmoon joined the room.17:47:05
@ironm00n:matrix.orgironmoon changed their display name from IRONM00N to ironmoon.17:50:11
@dacid44:matrix.orgdacid44 is there a way that I can get nix/home-manager to manage stuff I would usually install with cargo install? (assuming it's not also on nixpkgs) 19:14:59
@winter:catgirl.cloudWinterpackage it? :)19:15:59
@dacid44:matrix.orgdacid44so... no?19:17:06
@k900:0upti.meK900No19:23:14
@k900:0upti.meK900But packaging should be trivial19:23:17
@k900:0upti.meK900Using something like nix-init will do most of it for you19:23:25
@dacid44:matrix.orgdacid44oh, that looks handy19:34:49
@dacid44:matrix.orgdacid44I was hoping for something where I could just plug in the package name but that's not too much extra work19:35:26
@dacid44:matrix.orgdacid44* I was hoping for something where I could just plug in the crates.io package name but that's not too much extra work19:35:40
@qyliss:fairydust.spaceAlyssa RossRust programs often depend on one or two non-Rust libraries, so would be difficult to 100% automate but the amount of manual work is usually very small19:36:42
@dacid44:matrix.orgdacid44 well, could be nice to automate it in the case where it's pure Rust, which is most of the stuff I'd be cargo installing 19:40:11

Show newer messages


Back to Room ListRoom Version: 6