wasi-common: fix some warnings
This commit is contained in:
@@ -345,10 +345,10 @@ impl Handle for InMemoryFile {
|
|||||||
fn openat(
|
fn openat(
|
||||||
&self,
|
&self,
|
||||||
path: &str,
|
path: &str,
|
||||||
read: bool,
|
_read: bool,
|
||||||
write: bool,
|
_write: bool,
|
||||||
oflags: types::Oflags,
|
oflags: types::Oflags,
|
||||||
fd_flags: types::Fdflags,
|
_fd_flags: types::Fdflags,
|
||||||
) -> Result<Box<dyn Handle>> {
|
) -> Result<Box<dyn Handle>> {
|
||||||
if oflags.contains(&types::Oflags::DIRECTORY) {
|
if oflags.contains(&types::Oflags::DIRECTORY) {
|
||||||
tracing::trace!(
|
tracing::trace!(
|
||||||
@@ -633,8 +633,8 @@ impl Handle for VirtualDir {
|
|||||||
fn openat(
|
fn openat(
|
||||||
&self,
|
&self,
|
||||||
path: &str,
|
path: &str,
|
||||||
read: bool,
|
_read: bool,
|
||||||
write: bool,
|
_write: bool,
|
||||||
oflags: types::Oflags,
|
oflags: types::Oflags,
|
||||||
fd_flags: types::Fdflags,
|
fd_flags: types::Fdflags,
|
||||||
) -> Result<Box<dyn Handle>> {
|
) -> Result<Box<dyn Handle>> {
|
||||||
|
|||||||
Reference in New Issue
Block a user