Skip to content

Need a solution for loading out-of-tree module source #8778

Closed
@brson

Description

@brson

Servo has two instances now where crates need to refer to generated modules that are created as part of another build step. Servo also only supports out-of-tree builds. The Rust parser expects to find source files laid out as a tree. As a result we are generating this source directly in the source tree and ignoring them with .gitignore. This is unpleasant.

I don't have any great ideas about how to make this work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-parserArea: The lexing & parsing of Rust source code to an ASTC-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions