We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Os::Linux
fstat
1 parent abefc0b commit e009ee2Copy full SHA for e009ee2
src/shims/unix/fs.rs
@@ -593,10 +593,10 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
593
) -> InterpResult<'tcx, Scalar> {
594
let this = self.eval_context_mut();
595
596
- if !matches!(&this.tcx.sess.target.os, Os::MacOs | Os::FreeBsd | Os::Solaris | Os::Illumos)
+ if !matches!(&this.tcx.sess.target.os, Os::MacOs | Os::FreeBsd | Os::Solaris | Os::Illumos | Os::Linux)
597
{
598
panic!(
599
- "`macos_fbsd_solaris_fstat` should not be called on {}",
+ "`fstat` should not be called on {}",
600
this.tcx.sess.target.os
601
);
602
}
0 commit comments