Skip to content
Sign upLog in
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
2

Is there a way to use Rust Nightly?

ANDREWVOSS
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.

2 years ago

Voters

Comments

TopNew
1
xfinnbar
xfinnbar

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

2 years ago
1
ANDREWVOSS
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 :/

2 years ago
Load more