!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

676 Members
Rust153 Servers

Load older messages


SenderMessageTime
14 May 2025
@curid:matrix.org@curid:matrix.orgI guess I'll vendor rust-overlay if nobody has a better idea17:28:35
@k900:0upti.meK900I feel like it might be a better idea to build a custom stdenv17:29:28
@k900:0upti.meK900With an older glibc and recent everything else 17:29:49
@curid:matrix.org@curid:matrix.orgWould I need to mess with the fragile cross compilation?17:32:10
@qyliss:fairydust.spaceAlyssa RossDon't see why it couldn't be native17:32:24
@curid:matrix.org@curid:matrix.orgI'm abusing nix to make aarch64 binaries too17:33:45
@curid:matrix.org@curid:matrix.org* I'm abusing nix to cross compile aarch64 binaries too17:34:52
@curid:matrix.org@curid:matrix.orgIs there a guide for custom stdenv? I've tried to find a way to patch urandom in glibc before without much luck17:37:32
@tomasajt:matrix.orgToma could someone review https://github.com/NixOS/nixpkgs/pull/373541? I know I've sent it in several times, but I'd like to get this merged, preferably before branch-off23:43:12
15 May 2025
@jh-devv:matrix.org@jh-devv:matrix.org joined the room.15:45:51
@jh-devv:matrix.org@jh-devv:matrix.org So ugh, how do I install an toolchain for Rust with specific components and support for targets such as "aarch64-linux-android", "armv7-linux-androideabi", "x86_64-linux-android",
"i686-linux-android" fenix
15:49:16
@jh-devv:matrix.org@jh-devv:matrix.org * 15:49:29
@jh-devv:matrix.org@jh-devv:matrix.org * 15:49:32
@jh-devv:matrix.org@jh-devv:matrix.orgI haven15:49:40
@jh-devv:matrix.org@jh-devv:matrix.org * 15:49:47
@k900:0upti.meK900i686-linux-android is definitely not a supported target15:49:54
@jh-devv:matrix.org@jh-devv:matrix.orgI always get errors "error[E0514]: found crate core compiled by an incompatible version of rustc #931" or similar15:50:02
@jh-devv:matrix.org@jh-devv:matrix.org
In reply to @k900:0upti.me
i686-linux-android is definitely not a supported target
https://doc.rust-lang.org/nightly/rustc/platform-support/android.html#building-the-target
15:51:03
@k900:0upti.meK900Definitely not in upstream Android though15:51:22
@k900:0upti.meK900It might work15:51:26
@jh-devv:matrix.org@jh-devv:matrix.org
In reply to @jh-devv:matrix.org
I always get errors "error[E0514]: found crate core compiled by an incompatible version of rustc #931" or similar
Well, what causes this?
15:52:00
@k900:0upti.meK900Not sure honestly15:52:12
@k900:0upti.meK900Depends on how you're invoking rustc15:52:18
@k900:0upti.meK900Or cargo or whatever15:52:21
@jh-devv:matrix.org@jh-devv:matrix.org
In reply to @k900:0upti.me
Or cargo or whatever
well, from Gradle in Android Studio
15:53:00
@k900:0upti.meK900Yeah I'm going to guess that it's somehow an Android Studio problem15:53:17
@k900:0upti.meK900 I'm not sure how 15:53:25
@jh-devv:matrix.org@jh-devv:matrix.orgUsing "rust-android-gradle" or "cargo-ndk-android'15:53:26
@k900:0upti.meK900But it very likely is15:53:28
@jh-devv:matrix.org@jh-devv:matrix.org
In reply to @k900:0upti.me
But it very likely is
Actually
15:54:25

Show newer messages


Back to Room ListRoom Version: 6