See https://groups.google.com/a/tensorflow.org/forum/#!topic/rust/VBcTPuas3sM. We may need to use the approach in https://github.com/rust-lang/docs.rs/issues/806#issuecomment-638355488.