diff options
Diffstat (limited to 'patches/std.diff')
-rw-r--r-- | patches/std.diff | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/std.diff b/patches/std.diff index dd24015..244b78c 100644 --- a/patches/std.diff +++ b/patches/std.diff @@ -1,15 +1,15 @@ diff --git a/src/lib.rs b/src/lib.rs -index 2a8ceb3..3c46fcf 100644 +index 4ce9c93..a800c89 100644 --- a/src/lib.rs +++ b/src/lib.rs -@@ -100,6 +100,9 @@ +@@ -100,6 +100,10 @@ #![deny(rustdoc::broken_intra_doc_links)] extern crate alloc; +/// Use std to allow building as a dylib. ++#[cfg(android_dylib)] +extern crate std; + /// Re-export of the `ciborium` crate used for underlying CBOR encoding. pub use ciborium as cbor; - - +
\ No newline at end of file |