| 11 Aug 2025 |
emily | but I haven't read requests code | 15:40:00 |
emily | I agree that async is probably a good idea | 15:40:09 |
Toma | and by async you mean? | 15:40:55 |
K900 | asyncio | 15:41:05 |
K900 | Instead of manual threading | 15:41:10 |
Toma | how big is asyncio's closure? | 15:41:35 |
Toma | og its part of python | 15:42:00 |
Toma | * oh its part of python | 15:42:04 |
Toma | never touched async python and wasn't really planning to | 15:42:37 |
K900 | You'll probably also want httpx as an async HTTP client library | 15:42:39 |
Toma | maybe, I don't know | 15:42:50 |
Toma | If someone wants to improve it, go ahead, I don't really write python that much | 15:43:25 |
emily | could RIIR :P | 15:47:18 |
Toma | the vendoring of the deps of the rust implementation would be interesting... | 15:49:42 |
Toma | I guess we could use importCargoLock | 15:49:55 |
Toma | but I don't think we should focus on that, we have more pressing issues, I think, e.g. lessening the cache burden, duplicated deps | 15:51:48 |
Toma | Also, 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 |
emily | is it possible to build rustc with only the Cranelift backend, not LLVM? | 15:46:28 |
emily | (I guess I don't know if it can self-host?) | 15:46:49 |
K900 | Don't think so | 15:46:52 |
rosssmyth | https://github.com/rust-lang/rust/blob/d9dba3a55476ae2da5d4e5bce8a81b341c675750/bootstrap.example.toml#L753 | 16:56:15 |
rosssmyth | nope | 16:56:19 |
dramforever | in today's edition of "does rust-hypervisor-firmware even work?" https://github.com/NixOS/nixpkgs/pull/433135 | 17:06:15 |
emily | hmm shouldn't https://github.com/NixOS/nixpkgs/pull/426940 be using some TOML function instead | 17:38:09 |
dramforever | probably but the receiving side is also jank | 17:40:55 |
dramforever | it's using python shlex with . as word separator | 17:41:11 |
dramforever | https://github.com/rust-lang/rust/pull/132635 | 17:43:08 |
dramforever | if you think that parsing is jank check out this serialization https://github.com/rust-lang/rust/blob/1.89.0/src/bootstrap/configure.py#L621-L628 | 17:48:42 |
dramforever | and the ominous comment
for target in configured_targets:
targets[target] = sections["target"][:]
# For `.` to be valid TOML, it needs to be quoted. But `bootstrap.py` doesn't use a proper TOML parser and fails to parse the target.
# Avoid using quotes unless it's necessary.
targets[target][0] = targets[target][0].replace(
"x86_64-unknown-linux-gnu",
"'{}'".format(target) if "." in target else target,
)
| 17:49:40 |
emily | :( | 17:52:11 |