versatica / mediasoup

Cutting Edge WebRTC Video Conferencing

Home Page:https://mediasoup.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rust docs for 0.13 failed to build

PaulOlteanu opened this issue · comments

Bug Report

Issue description

The docs for release 0.13 of mediasoup for rust failed to build. Here's a direct link to the error.

I can't really try and help more in depth at the moment, but I do know you can try building docs locally to test the build https://github.com/rust-lang/docs.rs#build-subcommand.

The reason is that we skip the whole build script for build.rs:

if env::var("DOCS_RS").is_ok() {
// Skip everything when building docs on docs.rs
return;
}

Now that we have flatbuffers (that we thankfully compile with Rust code) we need to move that check below flatbuffers compilation.

@PaulOlteanu would you mind sending a PR to fix this, please?

Exactly, just move the check there and it should succeed.