Are there any hosted compiled binaries for linux?
shadyabhi opened this issue · comments
Abhijeet Rastogi commented
Little/nothing that I know about Rust, I'm unable to compile this.
➜ $?=0 ➤ cargo build --release
Compiling vec_map v0.8.0
Compiling lazy_static v1.0.0
Compiling sc v0.2.2
Compiling unicode-width v0.1.4
Compiling regex v0.2.11
Compiling regex-syntax v0.5.6
Compiling time v0.1.39
Compiling rand v0.4.2
Compiling memmap v0.6.2
Compiling num_cpus v1.8.0
Compiling memchr v2.0.1
Compiling atty v0.2.10
Compiling num-integer v0.1.36
error[E0554]: #![feature] may not be used on the stable release channel
--> /home/arastogi/.cargo/registry/src/github.com-1ecc6299db9ec823/sc-0.2.2/src/lib.rs:15:1
|
15 | #![feature(asm)]
| ^^^^^^^^^^^^^^^^
error: aborting due to previous error
error: Could not compile `sc`.
warning: build failed, waiting for other jobs to finish...
error: build failed
➜ ➤ cargo --version
cargo 0.26.0
➜ ➤
Koute commented
I might get some precompiled binaries released in the future.
For now you can compile it yourself; the reason why it didn't work is that currenty you need to use Rust nightly or it won't compile. (This will not be necessary in a few weeks once Rust 1.26 is released on stable.)
The easiest way to install it is through rustup
, roughly like this:
# If you didn't install Rust through rustup:
$ curl https://sh.rustup.rs -sSf | sh
# You might have to reload your terminal session here so that your
# PATH is updated; I haven't installed this in a long time so I don't remember.
$ rustup install nightly
$ rustup default nightly
$ cargo build --release
Abhijeet Rastogi commented
Thanks @koute for helping out. I was able to compile successfully.