| 1 |
Index: bendy/src/decoding/error.rs |
| 2 |
=================================================================== |
| 3 |
--- bendy.orig/src/decoding/error.rs |
| 4 |
+++ bendy/src/decoding/error.rs |
| 5 |
@@ -180,6 +180,7 @@ fn decoding_errors_are_sync_send() { |
| 6 |
} |
| 7 |
|
| 8 |
#[test] |
| 9 |
+#[cfg(feature = "std")] |
| 10 |
fn error_context_is_displayed() { |
| 11 |
let e:Result<(), Error> = Err(Error::missing_field("aaa")).context("bbb").context("ccc"); |
| 12 |
let e = e.unwrap_err().to_string(); |
| 13 |
Index: bendy/src/inspect/display.rs |
| 14 |
=================================================================== |
| 15 |
--- bendy.orig/src/inspect/display.rs |
| 16 |
+++ bendy/src/inspect/display.rs |
| 17 |
@@ -217,6 +217,7 @@ mod tests { |
| 18 |
|
| 19 |
#[ignore] |
| 20 |
#[test] |
| 21 |
+ #[cfg(feature = "std")] |
| 22 |
fn as_rust_string_literal_test() { |
| 23 |
fn print(b: impl AsRef<[u8]>) { |
| 24 |
let b = b.as_ref(); |
| 25 |
@@ -238,6 +239,7 @@ mod tests { |
| 26 |
|
| 27 |
#[ignore] |
| 28 |
#[test] |
| 29 |
+ #[cfg(feature = "std")] |
| 30 |
fn debug_print_test() { |
| 31 |
let i = inspect(b"i200e"); |
| 32 |
dbg!(i); |