!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

651 Members
Rust147 Servers

Load older messages


SenderMessageTime
12 Aug 2025
@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
@emilazy:matrix.orgemilyit's okay17:53:35
@emilazy:matrix.orgemilyone has to live their calling17:53:38
@dramforever:matrix.orgdramforeveranyway i'm going to sleep while my poor laptop cross compiles bonk to mips317:53:55
@emilazy:matrix.orgemilywell you're not helping17:55:39
@emilazy:matrix.orgemily
    description = "Blazingly fast touch alternative written in Rust";

finally a touch(1) that is fast

17:56:00
@dramforever:matrix.orgdramforeverwell you're looking at the package.nix so you know why i'm compiling bonk17:57:08
@emilazy:matrix.orgemily I guess ripgrep and fd do have more dependencies 17:57:47
@pyrox:pyrox.devdish [Fox/It/She] joined the room.20:21:39
13 Aug 2025
@dramforever:matrix.orgdramforever error occurred in cc-rs: target 5qiqhay6jpxpba0byyalp1jmcl7k9g2n-mips64el_mips3-unknown-linux-gnuabi64 had an unknown architecture 00:52:25
@dramforever:matrix.orgdramforever * error occurred in cc-rs: target `5qiqhay6jpxpba0byyalp1jmcl7k9g2n-mips64el\_mips3-unknown-linux-gnuabi64` had an unknown architecture 00:52:28
@emilazy:matrix.orgemilystarting to think the Rust ecosystem has some problems00:53:26
@dramforever:matrix.orgdramforever * error occurred in cc-rs: target `5qiqhay6jpxpba0byyalp1jmcl7k9g2n-mips64el_mips3-unknown-linux-gnuabi64` had an unknown architecture 00:55:36
@dramforever:matrix.orgdramforevercc-rs has problems, yes00:55:49
@dramforever:matrix.orgdramforeverbut also we shouldn't be doing this00:55:58
@emilazy:matrix.orgemilythe hash thing?00:57:20
@dramforever:matrix.orgdramforeveryeah00:57:24
@dramforever:matrix.orgdramforeverhmm00:57:31
@emilazy:matrix.orgemilyit seems worse to have names things can parse and make wrong conclusions about00:57:33
@dramforever:matrix.orgdramforeverchanging *Platform.rust causes rebuilds in gcc00:57:44
@dramforever:matrix.orgdramforeveri wonder why00:58:43
@dramforever:matrix.orgdramforeveraand i have successfully bonked01:30:43
@dramforever:matrix.orgdramforever

chat is this a normal *System.rust

    rust = {
      platform = builtins.fromJSON (builtins.readFile "${./rust}/mips64el_mips3-unknown-linux-gnuabi64.json");
      rustcTargetSpec = "${./rust}/mips64el_mips3-unknown-linux-gnuabi64.json";
      # cargoShortTarget = "mips64el_mips3-unknown-linux-gnuabi64";
      rustcTarget = "mips64el_mips3-unknown-linux-gnuabi64";
    };
02:25:54

Show newer messages


Back to Room ListRoom Version: 6