!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

245 Members
81 Servers

Load older messages


SenderMessageTime
12 Sep 2024
@zmitchell:matrix.orgzmitchellOk, I misunderstood15:21:29
@qyliss:fairydust.spaceAlyssa RossI think you should see how far you can get with upstream rustc first15:21:49
@zmitchell:matrix.orgzmitchellSure, that's more of a Redox<->Rust Project conversation though instead of a Redox<->Nixpkgs conversation, and as a new contributor I'm not sure exactly what the limitations are that led them to maintain their own fork in the first place. I'll have to do more digging.15:23:05
@zmitchell:matrix.orgzmitchellHow does providing relibc as a precompiled binary for Redox interfere with normal rustc?15:26:02
@qyliss:fairydust.spaceAlyssa RossSorry, maybe I misunderstood15:27:11
@qyliss:fairydust.spaceAlyssa RossI thought you were talking about Redox rustc as a precompiled binary15:27:26
@qyliss:fairydust.spaceAlyssa RossWhat would be the point of having relibc as a precompiled binary though? If you need a special Rust compiler, presumably you need it for more than just libc.15:28:01
@zmitchell:matrix.orgzmitchellUltimately we're trying to get Redox support in GCC so that you can compile non-Rust programs to run on Redox. We have a two-commit patch for adding Redox support, but as far as I can tell you need a supported libc for the platform as well. 15:29:56
@qyliss:fairydust.spaceAlyssa RossSo you're not interested in building Rust programs for Redox?15:30:36
@zmitchell:matrix.orgzmitchellNot using Rust in nixpkgs at the moment.15:31:03
@qyliss:fairydust.spaceAlyssa RossYou have a project to specifically build GCC that targets Redox, using Nixpkgs?15:31:27
@qyliss:fairydust.spaceAlyssa RossAnd you only want to do what you need to make that workr?15:31:39
@qyliss:fairydust.spaceAlyssa Ross * 15:31:43
@zmitchell:matrix.orgzmitchell I mean I don't want to speak for the long term plans of the whole project, but all I'm trying to do right now is be able to cross compile some packages in Nixpkgs to run on Redox. 15:32:52
@qyliss:fairydust.spaceAlyssa Ross

"

The biggest change in our fork is static linking rustc for self hosting. We do hope to upstream all changes, most have already been upstreamed."

15:33:04
@qyliss:fairydust.spaceAlyssa Rosshttps://www.reddit.com/r/rust/comments/1dadz2w/comment/l7lwahr/15:33:06
@qyliss:fairydust.spaceAlyssa RossThis really sounds like we wouldn't need the special Rust compiler in Nixpkgs?15:33:14
@qyliss:fairydust.spaceAlyssa RossOr a prebuilt binary15:33:18
@zmitchell:matrix.orgzmitchellAt the very least relibc is built with a pinned version of the nightly compiler, so I think that alone rules out Nix-provided rustc, right?15:34:32
@qyliss:fairydust.spaceAlyssa RossDepends how tight the pin is15:34:51
@qyliss:fairydust.spaceAlyssa Ross

You can use Nixpkgs rustc as a nightly compiler

15:34:59
@zmitchell:matrix.orgzmitchelllol via RUSTC_BOOTSTRAP?15:35:13
@qyliss:fairydust.spaceAlyssa RossYes15:35:17
@qyliss:fairydust.spaceAlyssa RossLots of packages do this15:35:19
@qyliss:fairydust.spaceAlyssa Ross * 15:38:17
15 Sep 2024
@irrelevancy:matrix.orgOne Confused Being joined the room.09:48:50
@davidak:matrix.org@davidak:matrix.org left the room.18:02:17
16 Sep 2024
@silentlurker:matrix.orgsilentlurker joined the room.19:55:20
17 Sep 2024
@penguincoder:matrix.wolfie.pw@penguincoder:matrix.wolfie.pw left the room.14:40:22
@hive:the-apothecary.clubLi-ion changed their profile picture.16:18:21

Show newer messages


Back to Room ListRoom Version: 6