Connor Mooneyhan
@ConnorMooneyhan
2
I'm trying to use nix to install a package (rustup) in my Rust repl and I've tried adding a replit.nix file with the following code:
{ pkgs }: {
SixBeeps RoBlockHead is completely correct, but I can explain it a little more.
Currently, there are two types of Repls. There are the Repls that run on a Docker image called Polygott, and there are the Repls which use Nix. Before Nix, everything was on Polygott. Replit eventually plans on transferring everything over to Nix iirc.
Since Rust Repls run on Polygott, Nix isn't supported on them. However, if you were to set up a Nix Repl, then you'd be able to use it.10 months ago
1
I'm trying to compile to x8664-pc-windows-gnu, which already shows up in my target list when I enter rustc --print target-list, but when I run cargo b
Rust
1
Hello all! When I use cargo build (or cargo build --release), there is no contact.exe file produced in the target/debug (or target/release) folder, bu
Rust
19ecal That is an executable. It's just a Linux executable, which tend to have no extensions, as opposed to Windows ones which have .exe. You won't be able to run it (the one with no extension) on Windows (or vice versa), but to run it here on replit, you can go to the shell and type ./target/release/contact. The reason it is generating a Linux executable is because your repl is actually on a Linux system.10 months ago