Skip to content

Instantly share code, notes, and snippets.

@object-kazu
Created September 17, 2018 07:31
Show Gist options
  • Save object-kazu/2589089d6eeb4322fb98239bd957096b to your computer and use it in GitHub Desktop.
Save object-kazu/2589089d6eeb4322fb98239bd957096b to your computer and use it in GitHub Desktop.
Rust製のエディタをビルドするのに1時間ぐらいハマったのでメモしておく ref: https://qiita.com/object-kazuAtGitHub/items/a24cc8a833f4663ad4b2
% > cargo build
Compiling orbclient v0.3.17
error[E0554]: #![feature] may not be used on the stable release channel
--> /Users/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/orbclient-0.3.17/src/lib.rs:3:1
|
3 | #![feature(alloc)]
| ^^^^^^^^^^^^^^^^^^
error[E0554]: #![feature] may not be used on the stable release channel
--> /Users/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/orbclient-0.3.17/src/lib.rs:4:1
|
4 | #![feature(asm)]
| ^^^^^^^^^^^^^^^^
error[E0554]: #![feature] may not be used on the stable release channel
--> /Users/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/orbclient-0.3.17/src/lib.rs:5:1
|
5 | #![feature(const_fn)]
| ^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0554`.
error: Could not compile `orbclient`.
> brew install sdl2
> rustup update
> rustup override set nightly
> rustup update nightly
> cargo -V
cargo 1.30.0-nightly (a5d829494 2018-09-13)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment