!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

651 Members
Rust147 Servers

Load older messages


SenderMessageTime
11 Aug 2025
@emilazy:matrix.orgemilyI bet your changes help it fall back to v415:38:37
@tomasajt:matrix.orgTomano idea15:38:56
@tomasajt:matrix.orgToma the main change was actually specifying timeouts via with session.get(url, stream=True, timeout=(CONNECT_TIMEOUT, **READ_TIMEOUT)) 15:39:15
@tomasajt:matrix.orgTomaand also changing the task cancellation logic15:39:24
@tomasajt:matrix.orgTomabut if it's not even timing out, then IDK15:39:34
@emilazy:matrix.orgemilymy guess is that the v4 timeout fails and that causes an internal fallback to v615:39:49
@emilazy:matrix.orgemily but I haven't read requests code 15:40:00
@emilazy:matrix.orgemilyI agree that async is probably a good idea15:40:09
@tomasajt:matrix.orgTomaand by async you mean?15:40:55
@k900:0upti.meK900asyncio15:41:05
@k900:0upti.meK900Instead of manual threading15:41:10
@tomasajt:matrix.orgTomahow big is asyncio's closure?15:41:35
@tomasajt:matrix.orgTomaog its part of python15:42:00
@tomasajt:matrix.orgToma* oh its part of python15:42:04
@tomasajt:matrix.orgTomanever touched async python and wasn't really planning to15:42:37
@k900:0upti.meK900You'll probably also want httpx as an async HTTP client library15:42:39
@tomasajt:matrix.orgTomamaybe, I don't know15:42:50
@tomasajt:matrix.orgTomaIf someone wants to improve it, go ahead, I don't really write python that much15:43:25
@emilazy:matrix.orgemilycould RIIR :P15:47:18
@tomasajt:matrix.orgTomathe vendoring of the deps of the rust implementation would be interesting...15:49:42
@tomasajt:matrix.orgToma I guess we could use importCargoLock 15:49:55
@tomasajt:matrix.orgTomabut I don't think we should focus on that, we have more pressing issues, I think, e.g. lessening the cache burden, duplicated deps15:51:48
@tomasajt:matrix.orgTomaAlso, interesting sidenote: I encountered this around a month ago: https://github.com/flatpak/flatpak-builder-tools/blob/master/cargo/flatpak-cargo-generator.py Flatpak also has their own custom vendoring script...15:53:28
12 Aug 2025
@emilazy:matrix.orgemilyis it possible to build rustc with only the Cranelift backend, not LLVM?15:46:28
@emilazy:matrix.orgemily(I guess I don't know if it can self-host?)15:46:49
@k900:0upti.meK900Don't think so15:46:52
@rosssmyth:matrix.orgrosssmythhttps://github.com/rust-lang/rust/blob/d9dba3a55476ae2da5d4e5bce8a81b341c675750/bootstrap.example.toml#L75316:56:15
@rosssmyth:matrix.orgrosssmythnope16:56:19
@dramforever:matrix.orgdramforeverin today's edition of "does rust-hypervisor-firmware even work?" https://github.com/NixOS/nixpkgs/pull/43313517:06:15
@emilazy:matrix.orgemilyhmm shouldn't https://github.com/NixOS/nixpkgs/pull/426940 be using some TOML function instead17:38:09

Show newer messages


Back to Room ListRoom Version: 6