Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix failing docs build on crates.io #109

Closed

Conversation

HenrikJStromberg
Copy link

Suppress build on crates.io by checking DOCS_RS to circumvent failing of building docs without internet connection as is the situation on crates.io

…of building docs without internet connection as is the situation on crates.io
@HenrikJStromberg
Copy link
Author

It looks like we are having a conflict between your deployment pipeline and crates.io. Does your test environment set DOCS_RS which I am using to detect crates.io?

@@ -76,6 +76,9 @@ fn macos_system() {
}

fn main() {
if !env::var("DOCS_RS").is_ok() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if !env::var("DOCS_RS").is_ok() {
if env::var("DOCS_RS").is_ok() {

@Dirreke
Copy link
Contributor

Dirreke commented Nov 27, 2024

Included by #125

@Dirreke Dirreke closed this Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants