!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

701 Members
Rust156 Servers

Load older messages


SenderMessageTime
17 Apr 2025
@k900:0upti.meK900We don't have a prefetch-cargo-vendor or anything, right?09:56:47
@emilazy:matrix.orgemily nix-update can do it 10:06:47
@emilazy:matrix.orgemilyif you tell it not to bump the version10:06:52
@k900:0upti.meK900Hm OK this helps10:09:49
@glepage:matrix.orgGaétan Lepage How can I pass --target wasm32-wasip1 to buildRustPackage? Is it really falling in the scope of cross-compiling? 11:07:55
@glepage:matrix.orgGaétan Lepage Source: https://github.com/bytecodealliance/wasmtime-py/blob/main/ci/build-rust.py#L22 11:08:24
@qyliss:fairydust.spaceAlyssa RossYou should be able to do it without cross compiling11:17:34
@qyliss:fairydust.spaceAlyssa Ross(in the Nixpkgs sense)11:17:39
@glepage:matrix.orgGaétan Lepage Ok great! How though? If I add --target wasm32-wasip1 to cargoBuildFlags, it just appends it and I have two --target flags in the final command. 11:41:31
@glepage:matrix.orgGaétan Lepage Is there a way to simply "override" the --target flag? 11:41:47
@aloisw:julia0815.de@aloisw:julia0815.de There does not appear to, but you can work around by calling cargo with the right flags in stdenv.mkDerivation. 12:39:16
@glepage:matrix.orgGaétan LepageOk I see, thanks :)13:26:14
@glepage:matrix.orgGaétan Lepage

Not that easy...

error[E0463]: can't find crate for `core`
  |
  = note: the `wasm32-wasip1` target may not be installed
  = help: consider downloading the target with `rustup target add wasm32-wasip1`
14:07:36
@aloisw:julia0815.de@aloisw:julia0815.deAh shit, wasi may be harder.15:58:21
@qyliss:fairydust.spaceAlyssa Rossyeah wasi will be actual cross16:06:29
@oneeyed:matrix.orgSam changed their display name from Sam to Sam (away → 5/5).17:17:07
19 Apr 2025
@hauler:exarius.org@hauler:exarius.org joined the room.20:24:56
@hauler:exarius.org@hauler:exarius.org 20:26:23
@hauler:exarius.org@hauler:exarius.orgRedacted or Malformed Event20:27:15
@hauler:exarius.org@hauler:exarius.orgRedacted or Malformed Event20:27:25
@aidalgol:matrix.orgaidalgol left the room.20:27:30
@hauler:exarius.org@hauler:exarius.orgRedacted or Malformed Event20:27:27
@hauler:exarius.org@hauler:exarius.orgRedacted or Malformed Event20:27:29
@hauler:exarius.org@hauler:exarius.orgRedacted or Malformed Event20:27:31
@hauler:exarius.org@hauler:exarius.orgRedacted or Malformed Event20:27:33
@sasha:the-apothecary.club@sasha:the-apothecary.club left the room.20:27:44
@mjolnir:nixos.orgNixOS Moderation Bot banned @hauler:exarius.org@hauler:exarius.org (<no reason supplied>).20:27:51
@travis-staton:matrix.org@travis-staton:matrix.org left the room.20:27:59
@emma:rory.gay@emma:rory.gay joined the room.20:28:12
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.20:28:24

Show newer messages


Back to Room ListRoom Version: 6