The rustdocs don't seem to generate without adding these 2 lines to src/lib.rs: # ![feature(libc)] # ![feature(rustc_private)]