!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

713 Members
Rust163 Servers

Load older messages


SenderMessageTime
19 Oct 2022
@charles:computer.surgeryCharles ⚡️ it's pretty suboptimal of upstream to be using nightly but not provide a rust-toolchain or rust-toolchain.toml 19:41:00
@charles:computer.surgeryCharles ⚡️https://github.com/rust-lang/rust/issues/43244 also this is literally the only nightly feature they're using >.>19:42:25
@charles:computer.surgeryCharles ⚡️ wow it's also been unstable since 2017, or 5 years 19:43:21
@charles:computer.surgeryCharles ⚡️ * https://github.com/rust-lang/rust/issues/43244 also this is literally the only nightly feature they're using 😒19:44:36
@aktaboot:tchncs.deaktabootwow, thanks a lot!19:54:34
@charles:computer.surgeryCharles ⚡️yep19:54:40
@aktaboot:tchncs.deaktabootI'm using this to also learn a lot19:54:52
@aktaboot:tchncs.deaktabootyou did dig deep :D ! thanks19:55:06
@charles:computer.surgeryCharles ⚡️you're welcome19:55:13
@charles:computer.surgeryCharles ⚡️to pay me back, consider using this project template i have for rust projects for your own stuff: https://or.computer.surgery/charles/nix-rust-quickstart/19:55:31
@charles:computer.surgeryCharles ⚡️ or at the very least flake.gen.nix should be a good reference for simple rust/flake packages 19:56:02
@aktaboot:tchncs.deaktabootheheh will do :P19:57:00
@charles:computer.surgeryCharles ⚡️tfw 91 commits just for hello world19:57:34
@planetjool:envs.netJool joined the room.20:10:47
@m1cr0man:m1cr0man.comm1cr0man joined the room.23:38:52
20 Oct 2022
@jaredbaur:matrix.orgJared Baur joined the room.00:20:25
@aktaboot:tchncs.deaktabootcan I specify RUST_BACKTRACE=1 while building ?17:15:51
@aktaboot:tchncs.deaktabootto debug the binary ? 🤔17:16:03
@charles:computer.surgeryCharles ⚡️i think that needs to be set at runtime17:21:33
@charles:computer.surgeryCharles ⚡️not build time17:21:36
@aktaboot:tchncs.deaktabootoh18:32:54
@aktaboot:tchncs.deaktabootthen I meant to compile with the debug flag18:33:09
@charles:computer.surgeryCharles ⚡️i have no idea but my guess is you want to set RUSTFLAGS to include something18:33:46
@charles:computer.surgeryCharles ⚡️you could also tell naersk to build in debug mode but you forfeit performance18:34:09
@aktaboot:tchncs.deaktaboot cargo does it by defulat wihout the --release 18:34:32
@aktaboot:tchncs.deaktaboot
In reply to @charles:computer.surgery
you could also tell naersk to build in debug mode but you forfeit performance
yea that is what I meant ig
18:34:48
@a-kenji:matrix.orga-kenji buildType = "debug"; 18:34:55
@charles:computer.surgeryCharles ⚡️by default naersk builds in release mode18:35:13
@a-kenji:matrix.orga-kenji
18:36:44
@aktaboot:tchncs.deaktaboot
In reply to @a-kenji:matrix.org
buildType = "debug";
thanks, this is not inherent to naersk, is it ?
18:36:58

Show newer messages


Back to Room ListRoom Version: 6