Skip to content

Commit cfd99a2

Browse files
committed
Auto merge of rust-lang#2616 - RalfJung:rustup, r=RalfJung
rustup With rust-lang#103360 having landed, I don't think we still need this `GetFileInformationByHandleEx` shim.
2 parents a157e0e + 7b83059 commit cfd99a2

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

src/tools/miri/rust-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
b1ab3b738ac718da74cd4aa0bb7f362d0adbdf84
1+
56f132565eb31eeb9ec7e1800a6ab2ca354e710e

src/tools/miri/src/shims/windows/foreign_items.rs

-7
Original file line numberDiff line numberDiff line change
@@ -418,13 +418,6 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> {
418418
// Indicate an error.
419419
this.write_null(dest)?;
420420
}
421-
"GetFileInformationByHandleEx" if this.frame_in_std() => {
422-
#[allow(non_snake_case)]
423-
let [_hFile, _FileInformationClass, _lpFileInformation, _dwBufferSize] =
424-
this.check_shim(abi, Abi::System { unwind: false }, link_name, args)?;
425-
// Just make it fail.
426-
this.write_null(dest)?;
427-
}
428421
"GetFileType" if this.frame_in_std() => {
429422
#[allow(non_snake_case)]
430423
let [_hFile] =

0 commit comments

Comments
 (0)