File tree 2 files changed +10
-0
lines changed
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(
106
106
//
107
107
// These aliases are mostly fine though, neither function takes a LFS64-namespaced type as an
108
108
// 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) ]
109
113
pub use open as open64;
114
+ #[ allow( unused_imports) ]
110
115
pub use openat as openat64;
111
116
112
117
#[ inline]
Original file line number Diff line number Diff line change @@ -114,7 +114,12 @@ pub unsafe extern "C" fn mmap64(
114
114
//
115
115
// These aliases are mostly fine though, neither function takes a LFS64-namespaced type as an
116
116
// 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) ]
117
121
pub use open as open64;
122
+ #[ allow( unused_imports) ]
118
123
pub use openat as openat64;
119
124
120
125
#[ inline]
You can’t perform that action at this time.
0 commit comments