Ask coding questions

← Back to all posts
Is there a way to use Rust Nightly?
ANDREWVOSS

I wanted to make a web server in Rust using the Rocket framework, but it can only be used in the nightly version of the rustc compiler. Is there a way to install rustc nightly on Replit?
EDIT: Try running the attached repl for a more detailed description of the problem.

Voters
xfinnbar
ANDREWVOSS
Comments
hotnewtop
xfinnbar

Run the rust nightly compiler on your local machine, then upload the binary to a bash repl. Inside start.sh, run the binary.

ANDREWVOSS

@xfinnbar I know, I was just hoping there was a better way. I did manage to get Rust Nightly working, but only in node.js repls :/