14 lines
305 B
Diff
14 lines
305 B
Diff
diff --git a/lib.rs b/lib.rs
|
|
index 3bcd6e2..01ccbf9 100644
|
|
--- a/lib.rs
|
|
+++ b/lib.rs
|
|
@@ -1,5 +1,8 @@
|
|
#![no_std]
|
|
|
|
+// ANDROID: Use std to allow building as a dylib.
|
|
+extern crate std;
|
|
+
|
|
/// Check if an expression matches a refutable pattern.
|
|
///
|
|
/// Syntax: `matches!(` *expression* `,` *pattern* `)`
|