Skip to content

docs.rs cannot generate the documentation for rustpython-parser #4436

Closed

Description

@not-my-profile

rustpython-parser 0.2.0 has just been published on crates.io, unfortunately docs.rs appears to be unable to generate the documentation. The relevant line in the log appears to be:

[INFO] [stderr] thread 'main' panicked at 'running lalrpop failed. Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }', build.rs:79:9

Quoting the docs.rs documentation:

Most of the sandbox is a read-only file system, including the source directory of your crate and its dependencies. If your build.rs generates files that are relevant for documentation, consider writing to the cargo output directory, passed in the environment variable OUT_DIR.

So the compiler/parser/build.rs script should be updated accordingly. I'll try to make a PR :)

Activity

  1. added a commit that references this issue on Jan 11, 2023
    658d5a8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions