| 19 Oct 2022 |
Charles ⚡️ | it's pretty suboptimal of upstream to be using nightly but not provide a rust-toolchain or rust-toolchain.toml | 19:41:00 |
Charles ⚡️ | https://github.com/rust-lang/rust/issues/43244
also this is literally the only nightly feature they're using >.> | 19:42:25 |
Charles ⚡️ | wow it's also been unstable since 2017, or 5 years | 19:43:21 |
Charles ⚡️ | * https://github.com/rust-lang/rust/issues/43244
also this is literally the only nightly feature they're using 😒 | 19:44:36 |
aktaboot | wow, thanks a lot! | 19:54:34 |
Charles ⚡️ | yep | 19:54:40 |
aktaboot | I'm using this to also learn a lot | 19:54:52 |
aktaboot | you did dig deep :D ! thanks | 19:55:06 |
Charles ⚡️ | you're welcome | 19:55:13 |
Charles ⚡️ | 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 ⚡️ | or at the very least flake.gen.nix should be a good reference for simple rust/flake packages | 19:56:02 |
aktaboot | heheh will do :P | 19:57:00 |
Charles ⚡️ | tfw 91 commits just for hello world | 19:57:34 |
| Jool joined the room. | 20:10:47 |
| m1cr0man joined the room. | 23:38:52 |
| 20 Oct 2022 |
| Jared Baur joined the room. | 00:20:25 |
aktaboot | can I specify RUST_BACKTRACE=1 while building ? | 17:15:51 |
aktaboot | to debug the binary ? 🤔 | 17:16:03 |
Charles ⚡️ | i think that needs to be set at runtime | 17:21:33 |
Charles ⚡️ | not build time | 17:21:36 |
aktaboot | oh | 18:32:54 |
aktaboot | then I meant to compile with the debug flag | 18:33:09 |
Charles ⚡️ | i have no idea but my guess is you want to set RUSTFLAGS to include something | 18:33:46 |
Charles ⚡️ | you could also tell naersk to build in debug mode but you forfeit performance | 18:34:09 |
aktaboot | cargo does it by defulat wihout the --release | 18:34:32 |
aktaboot | 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 | buildType = "debug"; | 18:34:55 |
Charles ⚡️ | by default naersk builds in release mode | 18:35:13 |
a-kenji | | 18:36:44 |
aktaboot | In reply to @a-kenji:matrix.org
buildType = "debug"; thanks, this is not inherent to naersk, is it ? | 18:36:58 |