Skip to content

Commit e7a9d15

Browse files
balderkdwrensha
authored andcommitted
fixed configuration attribute
1 parent e9d08b6 commit e7a9d15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

capnp/src/io.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ mod no_std_impls {
162162
}
163163
}
164164

165-
#[cfg(feature = "embedded-io")]
165+
#[cfg(all(feature = "embedded-io", not(feature = "std")))]
166166
mod no_std_impls {
167167
use crate::io::{BufRead, Read, Write};
168168
use crate::Result;

0 commit comments

Comments
 (0)