File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,12 @@ pub unsafe extern "C" fn mmap64(
106106//
107107// These aliases are mostly fine though, neither function takes a LFS64-namespaced type as an
108108// argument, nor do their names clash with any declared types.
109+ //
110+ // Targets wasm32-unknown-emscripten in CI recognize them as unused imports.
111+ // Like the same one at src/unix/linux_like/linux/musl/lfs64.rs, here they are also allowed.
112+ #[ allow( unused_imports) ]
109113pub use open as open64;
114+ #[ allow( unused_imports) ]
110115pub use openat as openat64;
111116
112117#[ inline]
Original file line number Diff line number Diff line change @@ -114,7 +114,12 @@ pub unsafe extern "C" fn mmap64(
114114//
115115// These aliases are mostly fine though, neither function takes a LFS64-namespaced type as an
116116// argument, nor do their names clash with any declared types.
117+ //
118+ // Targets i686-unknown-linux-musl and arm-unknown-linux-musleabihf in CI recognize them as unused imports.
119+ // Since `dead_code` is already allowed at the crate level, here they are also allowed.
120+ #[ allow( unused_imports) ]
117121pub use open as open64;
122+ #[ allow( unused_imports) ]
118123pub use openat as openat64;
119124
120125#[ inline]
You can’t perform that action at this time.
0 commit comments