Auto merge of #2616 - RalfJung:rustup, r=RalfJung
rustup With https://github.com/rust-lang/rust/pull/103360 having landed, I don't think we still need this `GetFileInformationByHandleEx` shim.
This commit is contained in:
commit
cfd99a2bbe
2 changed files with 1 additions and 8 deletions
|
@ -1 +1 @@
|
||||||
b1ab3b738ac718da74cd4aa0bb7f362d0adbdf84
|
56f132565eb31eeb9ec7e1800a6ab2ca354e710e
|
||||||
|
|
|
@ -418,13 +418,6 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> {
|
||||||
// Indicate an error.
|
// Indicate an error.
|
||||||
this.write_null(dest)?;
|
this.write_null(dest)?;
|
||||||
}
|
}
|
||||||
"GetFileInformationByHandleEx" if this.frame_in_std() => {
|
|
||||||
#[allow(non_snake_case)]
|
|
||||||
let [_hFile, _FileInformationClass, _lpFileInformation, _dwBufferSize] =
|
|
||||||
this.check_shim(abi, Abi::System { unwind: false }, link_name, args)?;
|
|
||||||
// Just make it fail.
|
|
||||||
this.write_null(dest)?;
|
|
||||||
}
|
|
||||||
"GetFileType" if this.frame_in_std() => {
|
"GetFileType" if this.frame_in_std() => {
|
||||||
#[allow(non_snake_case)]
|
#[allow(non_snake_case)]
|
||||||
let [_hFile] =
|
let [_hFile] =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue