diff options
| author | bors <bors@rust-lang.org> | 2020-08-02 09:41:17 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-08-02 09:41:17 +0000 |
| commit | 1e9913807841153729f92e438e6189184cbf561f (patch) | |
| tree | 88bcbb799bfd06a68e7fe83a299f73fa4a41a4dc /src/test/rustdoc-ui/coverage/doc-examples.rs | |
| parent | 12799ad60ca66b664699a0145f5ac5ccc399d4b8 (diff) | |
| parent | 4c851792ac28c6fb09828a036b7fe3d4e1707033 (diff) | |
| download | rust-1e9913807841153729f92e438e6189184cbf561f.tar.gz rust-1e9913807841153729f92e438e6189184cbf561f.zip | |
Auto merge of #74972 - second-state:wasi-right-fix, r=KodrAus
Fix std::fs::File::metadata permission on WASI target Previously `std::fs::File::metadata` on wasm32-wasi would call `fd_filestat_get` to get metadata associated with fd, but that fd is opened without RIGHTS_FD_FILESTAT_GET right, so it will failed on correctly implemented WASI environment. This change instead to add the missing rights when opening an fd.
Diffstat (limited to 'src/test/rustdoc-ui/coverage/doc-examples.rs')
0 files changed, 0 insertions, 0 deletions
