Error: language items are subject to change


Need help to resolve the stated error…

<Error Snip>
c\ 137:20 help: add #![feature(lang_items)] to the crate attribute
s to enable
c\ 153:20 error: language items are subject to change
c\     #[lang = "not"]

c\ 153:20 help: add #![feature(lang_items)] to the crate attribute
s to enable
error: aborting due to 10 previous errors
Could not compile `libc`.

Caused by:
  Process didn't exit successfully: `rustc C:\Users\rufsharm\.cargo\registry\src
\\libc-0.2.23\src\ --crate-name libc --crate-ty
pe lib -g --cfg feature="default" --cfg feature="use_std" -C metadata=10dc2d0b51
2312ca -C extra-filename=-10dc2d0b512312ca --out-dir C:\Users\rufsharm\Documents
\Rust_projects\guess\target\debug\deps --emit=dep-info,link -L dependency=C:\Use
rs\rufsharm\Documents\Rust_projects\guess\target\debug\deps -L dependency=C:\Use
rs\rufsharm\Documents\Rust_projects\guess\target\debug\deps -Awarnings` (exit co
de: 101)

</Error Snip>

name = "guess"
version = "0.0.1"
authors = ["Rufus Chakravarthy Sharma <>"]

rand = "0.3.0"

Environment : Windows 7 Service Pack 1


It looks like you are somehow enabling the dox cfg item of the libc crate, which is doing some really weird stuff that most people should not be seeing.


I had the same problem. I was following the 1.0.0 getting started rust guide. The problem is that the guide starts out by letting you install a 1.0 beta version which doesn’t work anymore. Follow the newer getting started guide and download the lastest rust installer.