diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-07-26 18:56:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-26 18:56:58 +0200 |
| commit | 15398b6b358b8585d5ab23ae95bbcd3330e5fdb4 (patch) | |
| tree | 81e3708ad40ea25f200f4d0dd60701f5712157bd /src/test/ui/thinlto | |
| parent | 7e1ce7da80f45b512601708fbaa637d1b609e189 (diff) | |
| parent | c69f367bafb3a2f90d44fe54fc20d57996fa294a (diff) | |
| download | rust-15398b6b358b8585d5ab23ae95bbcd3330e5fdb4.tar.gz rust-15398b6b358b8585d5ab23ae95bbcd3330e5fdb4.zip | |
Rollup merge of #62980 - alexcrichton:windows-metadata, r=sfackler
std: Add more accessors for `Metadata` on Windows This commit adds accessors for more fields in `fs::Metadata` on Windows which weren't previously exposed. There's two sources of `fs::Metadata` on Windows currently, one from `DirEntry` and one from a file itself. These two sources of information don't actually have the same set of fields exposed in their stat information, however. To handle this the platform-specific accessors of Windows-specific information all return `Option` to return `None` in the case a metadata comes from a `DirEntry`, but they're guaranteed to return `Some` if it comes from a file itself. This is motivated by some changes in CraneStation/wasi-common#42, and I'm curious how others feel about this platform-specific functionality!
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions
