Ask coding questions

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

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.

xfinnbar (81)

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


@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 :/