mystor / rust-cpp

Embed C++ directly inside your rust code!
Apache License 2.0
798 stars 44 forks source link

Have a "docs-only" feature that should be enabled when building the doc #57

Closed ogoffart closed 5 years ago

ogoffart commented 5 years ago

The build may fail while building the docs because the necessary C++ dependencies might be missing. So just ignore the failling build when building the documentation

For example: https://github.com/woboq/qmetaobject-rs/issues/27

ogoffart commented 5 years ago

I tested that the documentation is generated locally in case of errors when setting the "docs-only" feature with RUSTFLAGS. I hope this will work on the docs.rs builder. It should according to https://docs.rs/about