android13/external/rust/crates/coset/patches/std.diff

16 lines
355 B
Diff

diff --git a/src/lib.rs b/src/lib.rs
index 2a8ceb3..3c46fcf 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -100,6 +100,9 @@
#![deny(rustdoc::broken_intra_doc_links)]
extern crate alloc;
+/// Use std to allow building as a dylib.
+extern crate std;
+
/// Re-export of the `ciborium` crate used for underlying CBOR encoding.
pub use ciborium as cbor;