!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

651 Members
Rust147 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
11 Aug 2025
@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
@dramforever:matrix.orgdramforeverprobably but the receiving side is also jank17:40:55
@dramforever:matrix.orgdramforever it's using python shlex with . as word separator 17:41:11
@dramforever:matrix.orgdramforeverhttps://github.com/rust-lang/rust/pull/13263517:43:08
@dramforever:matrix.orgdramforeverif 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-L62817:48:42
@dramforever:matrix.orgdramforever

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
@emilazy:matrix.orgemily:(17:52:11
@emilazy:matrix.orgemilysadness has arisen as a result of the words I am confronted with17:52:39
@dramforever:matrix.orgdramforeveri'm sorry that every time you see me in matrix it's some nonsense like this17:53:14

Show newer messages


Back to Room ListRoom Version: 6