!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

687 Members
Rust153 Servers

Load older messages


SenderMessageTime
13 Aug 2025
@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
@emilazy:matrix.orgemily is the thing actually mips64el_mips3 03:55:31
@emilazy:matrix.orgemilyI hate that03:55:36
@dramforever:matrix.orgdramforeverthat's not a real cpu name04:00:44
@dramforever:matrix.orgdramforeverbut yes i need mips304:00:48
@dramforever:matrix.orgdramforeverrust's default mips64el is mips64r204:01:02
@dramforever:matrix.orgdramforever * but yes i need -march=mips3 04:01:18
@dramforever:matrix.orgdramforever why the hell does everything have mesonFlags 05:17:22
@dramforever:matrix.orgdramforever why the hell is there cmakeFlags and mesonFlags in pkgs/stdenv/generic/make-derivation.nix 05:18:03
@dramforever:matrix.orgdramforeveri can't fix this, i'll leave this be06:08:45
@tomasajt:matrix.orgToma
In reply to @dramforever:matrix.org
why the hell is there cmakeFlags and mesonFlags in pkgs/stdenv/generic/make-derivation.nix
I was very surprised too when I first encountered it.
11:36:27
@tomasajt:matrix.orgToma I'm guessing it is there so that splicing/cross doesn't make us use targetPackages or other hacky things (because cmake goes into nativeBuildInputs, shifting the offset)
just a guess, though
11:44:01
@tomasajt:matrix.orgToma * I'm guessing it is there so that splicing/cross doesn't make us use targetPackages or other hacky things when setting up the cmake vars (because cmake goes into nativeBuildInputs, shifting the offset)
just a guess, though
11:44:30
@qyliss:fairydust.spaceAlyssa RossI thought it was for typing/validation11:46:23
@qyliss:fairydust.spaceAlyssa RossI remember being a bit annoyed about it when it happened11:46:31
@tomasajt:matrix.orgTomainteresting... cmakeFlags was added to stdenv 7 years ago in https://github.com/hercules-ci/nixpkgs/commit/b3041b44552f50109760e7fa41a16636e4b4d5c0 and 3 years ago, some type-checking logic was added to it: https://github.com/hercules-ci/nixpkgs/commit/3173c3b6b61cd06620bda26ac8f0b674866d6101 in any case, I don't want to pollute this room anymore with cursed non-rust stuff, rust has enough cursed stuff itself.12:13:42
@tomasajt:matrix.orgToma* interesting... cmakeFlags was added to stdenv 7 years ago in https://github.com/NixOS/nixpkgs/commit/b3041b44552f50109760e7fa41a16636e4b4d5c0 and 3 years ago, some type-checking logic was added to it: https://github.com/NixOS/nixpkgs/commit/3173c3b6b61cd06620bda26ac8f0b674866d6101 in any case, I don't want to pollute this room anymore with cursed non-rust stuff, rust has enough cursed stuff itself.12:31:08
@dramforever:matrix.orgdramforevermesonFlags is absolutely rust-relevant12:49:21

Show newer messages


Back to Room ListRoom Version: 6