Skip to content

Instantly share code, notes, and snippets.

@chisophugis
Created September 15, 2018 06:11
Show Gist options
  • Save chisophugis/5c685997bcf76f57f2a3f1f91aa31c5c to your computer and use it in GitHub Desktop.
Save chisophugis/5c685997bcf76f57f2a3f1f91aa31c5c to your computer and use it in GitHub Desktop.
$ cargo install perfcnt
gives this when building raw-cpuid crate:
error[E0554]: #![feature] may not be used on the stable release channel
--> /home/sean/.cargo/registry/src/github.com-1ecc6299db9ec823/raw-cpuid-2.0.2/src/lib.rs:1:1
|
1 | #![feature(prelude_import, asm)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
$ cargo +nightly install perfcnt
gives this error on `x86` crate:
error[E0635]: unknown feature `convert`
--> /home/sean/.cargo/registry/src/github.com-1ecc6299db9ec823/x86-0.6.2/build.rs:1:54
|
1 | #![cfg_attr(feature = "performance-counter", feature(convert))]
| ^^^^^^^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment