!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

713 Members
Rust165 Servers

Load older messages


SenderMessageTime
20 Oct 2022
@aktaboot:tchncs.deaktabootyeah I have to learn some nix18:52:56
@aktaboot:tchncs.deaktaboot
In reply to @charles:computer.surgery
if you just want stack traces for panics then debug mode might not be desirable over just enabling symbols
how do I just enable the symbols
18:58:57
@charles:computer.surgeryCharles ⚡️
In reply to @charles:computer.surgery
i have no idea but my guess is you want to set RUSTFLAGS to include something
^
18:59:11
@aktaboot:tchncs.deaktabootfrom what I'm getting they're the same in Rust18:59:12
@charles:computer.surgeryCharles ⚡️first i would look up how to do it in normal rust, and then figure out how to get naersk to apply it18:59:49
@aktaboot:tchncs.deaktabootyeah it's RUSTFLAGS='-g'19:01:23
24 Oct 2022
@charles:computer.surgeryCharles ⚡️anyone want to review my first nixpkgs submission? https://github.com/NixOS/nixpkgs/pull/19745301:01:21
@charles:computer.surgeryCharles ⚡️ removed their profile picture.01:28:56
@charles:computer.surgeryCharles ⚡️ set a profile picture.01:30:37
@charles:computer.surgeryCharles ⚡️nevermind lol apparently this is a dupe01:53:46
26 Oct 2022
@qyliss:fairydust.spaceAlyssa Rossjoerg: do you know what reads these environment variables? (You authored the commit that added them.) I can't find any code that looks like it reads them apart from the Rust compiler bootstrap, which doesn't use the Cargo hooks. https://github.com/NixOS/nixpkgs/blob/2aad050c9f6aa846c4ce269f573eba1e664fe6fd/pkgs/build-support/rust/hooks/cargo-build-hook.sh#L30-L3318:26:23
27 Oct 2022
@joerg:thalheim.ioMic92qyliss: https://github.com/rust-lang/cc-rs#external-configuration-via-environment-variables05:34:51
@joerg:thalheim.ioMic92at least cc-rs05:35:12
@qyliss:fairydust.spaceAlyssa Rossahh, so it's just a crate05:56:38
@spacesbot:nixos.devspacesbot - keeps a log of public NixOS channels joined the room.14:02:43
@planetjool:envs.netJool left the room.18:17:13
28 Oct 2022
@nixinator:nixos.devnixinator left the room.14:39:41
@Ambrosia:matrix.orgAmbrosia joined the room.14:47:22
@oak:universumi.fioak joined the room.15:49:51
@figsoda:matrix.orgfigsoda Anyone got any suggestions/comments on this? I'm trying to make fenix work well with nix flake check/show
https://github.com/nix-community/fenix/pull/87
20:52:07
30 Oct 2022
@r_i_s:matrix.orgris_ joined the room.11:23:11
@r_i_s:matrix.orgris_ how can i tell what config files cargo is referencing? 11:23:51
@r_i_s:matrix.orgris_i'm trying to stop cargo from doing its vendor replacement of crates-io11:25:31
@r_i_s:matrix.orgris_ and i cannot find any .cargo/config.toml 11:26:15
@r_i_s:matrix.orgris_

yet still

$ cargo config get -Z unstable-options
source.crates-io.replace-with = "vendored-sources"
source.vendored-sources.directory = "/home/user/trex/t-rex-0.14.3-vendor.tar.gz"
11:27:36
@r_i_s:matrix.orgris_ahhhhhhwait found it11:28:50
@r_i_s:matrix.orgris_ i think 11:29:08
@uep:matrix.orguepnote that it will walk back up the path where the source is, because you can set options in a parent dir to affect all the children. As well as a small selection of other default locations16:01:31
@0x4a6f:matrix.org[0x4A6F] If found different ways to use cargo test command line syntax. With --option=value and --option value and wondering, which should be prefered. Finding both in rust-lang/cargo/src/doc/man/cargo-test.md isn't helping. Trying to improve our docs in nixpkgs#198705. 21:45:19
31 Oct 2022
@tinybronca:sibnsk.netunderpantsgnome changed their display name from underpantsgnome! to underpantsgnome.20:34:02

Show newer messages


Back to Room ListRoom Version: 6