mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-12-17 19:54:46 -05:00
one more case
This commit is contained in:
parent
6f23c4bd0e
commit
edd2ec20ba
@ -50,7 +50,10 @@ fn get_protoc_version_string() -> String {
|
||||
}
|
||||
|
||||
fn main() {
|
||||
if std::env::var("DOCS_RS").is_ok() || std::env::var("BUILD_DOCS").is_ok() {
|
||||
if std::env::var("DOCS_RS").is_ok()
|
||||
|| std::env::var("CARGO_CFG_DOC").is_ok()
|
||||
|| std::env::var("BUILD_DOCS").is_ok()
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user