diff options
Diffstat (limited to 'patches/std.diff')
-rw-r--r-- | patches/std.diff | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/std.diff b/patches/std.diff new file mode 100644 index 0000000..e3ebe5e --- /dev/null +++ b/patches/std.diff @@ -0,0 +1,14 @@ +diff --git a/src/untrusted.rs b/src/untrusted.rs +index 2f88bb4..b9f1439 100644 +--- a/src/untrusted.rs ++++ b/src/untrusted.rs +@@ -102,6 +102,9 @@ + )] + #![no_std] + ++// ANDROID: Unconditionally use std to allow building as a dylib. ++extern crate std; ++ + /// A wrapper around `&'a [u8]` that helps in writing panic-free code. + /// + /// No methods of `Input` will ever panic. |