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

usage of document-features crate breaks sccache-dist #2123

Open
lissyx opened this issue Mar 4, 2024 · 2 comments
Open

usage of document-features crate breaks sccache-dist #2123

lissyx opened this issue Mar 4, 2024 · 2 comments
Labels
good first bug For new comers

Comments

@lissyx
Copy link
Contributor

lissyx commented Mar 4, 2024

cf https://crates.io/crates/document-features

wgpu-core crate recently landed on mozilla-central making use of that, and this depends on Cargo.toml being available.

It blows up with:

 0:04.92    Compiling wgpu-core v0.19.0 (https://github.com/gfx-rs/wgpu?rev=a5c0181c3a6b4b197dcae34591dfe78bf45338b9#a5c0181c)
 0:24.78 error: Can't open Cargo.toml: Os { code: 2, kind: NotFound, message: "No such file or directory" }
 0:24.78  --> /home/alex/codaz/Mozilla/gecko-cinnabar/third_party/rust/wgpu-core/src/lib.rs:6:10
 0:24.78   |
 0:24.78 6 | #![doc = document_features::document_features!()]
 0:24.78   |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 0:24.78   |
 0:24.78   = note: this error originates in the macro `document_features::document_features` (in Nightly builds, run with -Z macro-backtrace for more info)
@lissyx
Copy link
Contributor Author

lissyx commented Mar 4, 2024

#2124

@sylvestre
Copy link
Collaborator

Pr welcome!

@sylvestre sylvestre added the good first bug For new comers label May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first bug For new comers
Projects
None yet
Development

No branches or pull requests

2 participants