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

Respect wasm file placed in a temp path by rustdoc #2881

Merged
merged 2 commits into from
May 9, 2022

Conversation

ranile
Copy link
Collaborator

@ranile ranile commented Apr 30, 2022

Rustdoc places doc tests in a temp directory (/tmp/rustdoc<hash>/...). wasm-bindgen-test-runner assumes that a cargo-like a path is present and ends up creating it's temp directory at /wbg-out. It fails at writing to directory because a normal user can't write to root (on a *nix environment).

The error faced is: rust-lang/rust#96532

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant